[U-Boot] [PATCH 08/10] arm: mvebu: Enable NAND on db-mv784mp-gp
Stefan Roese
sr at denx.de
Thu Jul 23 10:26:18 CEST 2015
This patch enables NAND support on the Marvell Armada XP
DB-MV784MP-GP eval board.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Peter Morrow <peter at senient.com>
Cc: Luka Perkov <luka.perkov at sartura.hr>
---
configs/db-mv784mp-gp_defconfig | 1 +
include/configs/db-mv784mp-gp.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/configs/db-mv784mp-gp_defconfig b/configs/db-mv784mp-gp_defconfig
index d11377f..c9859a8 100644
--- a/configs/db-mv784mp-gp_defconfig
+++ b/configs/db-mv784mp-gp_defconfig
@@ -4,4 +4,5 @@ CONFIG_SPL=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_SETEXPR is not set
+CONFIG_NAND_PXA3XX=y
CONFIG_SPI_FLASH=y
diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h
index 41e6fdc..6629fae 100644
--- a/include/configs/db-mv784mp-gp.h
+++ b/include/configs/db-mv784mp-gp.h
@@ -28,6 +28,7 @@
#define CONFIG_CMD_ENV
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IDE
+#define CONFIG_CMD_NAND
#define CONFIG_CMD_PING
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
@@ -89,6 +90,10 @@
#define CONFIG_DOS_PARTITION
#endif /* CONFIG_CMD_IDE */
+/* NAND */
+#define CONFIG_SYS_NAND_USE_FLASH_BBT
+#define CONFIG_SYS_NAND_ONFI_DETECTION
+
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros
--
2.4.6
More information about the U-Boot
mailing list