]> git.sur5r.net Git - u-boot/commit
sf: Flash power up read-only based on idcode0
authorJagan Teki <jteki@openedev.com>
Tue, 29 Sep 2015 20:31:23 +0000 (02:01 +0530)
committerJagan Teki <jteki@openedev.com>
Fri, 11 Dec 2015 16:42:24 +0000 (22:12 +0530)
commit6f9d670d8e9a77553b00c293fd1a8f913a9d7be3
treefdfcd6c6f58a0757d2c821687141ca7adc074893
parentcb37518516420c581877a209a7841f2a5fe6382d
sf: Flash power up read-only based on idcode0

Using macro's for flash power up read-only access code
leads wrong behaviour hence use idcode0 for runtime
detection, hence the flash which require this functionality
gets detected at runtime.

Tested-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_ops.c