[U-Boot] [PATCH 28/37] Blackfin: adi config: enable nand lock/unlock support

Mike Frysinger vapier at gentoo.org
Sat Oct 2 22:05:49 CEST 2010


We use the lock/unlock options in our default nand code, so enabl
support for the options.

Reported-by: Vivi Li <vivi.li at analog.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 include/configs/bfin_adi_common.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 22312f5..3e9f3b2 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -47,6 +47,7 @@
 # endif
 # if defined(CONFIG_NAND_PLAT) || defined(CONFIG_DRIVER_NAND_BFIN)
 #  define CONFIG_CMD_NAND
+#  define CONFIG_CMD_NAND_LOCK_UNLOCK
 # endif
 # ifdef CONFIG_POST
 #  define CONFIG_CMD_DIAG
-- 
1.7.3.1



More information about the U-Boot mailing list