diff options
author | Stefan Roese <sr@denx.de> | 2015-07-23 10:26:18 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-08-25 22:53:58 -0500 |
commit | d6b6303dbe00f99d105f1d4479f6ea60434861c1 (patch) | |
tree | 0b0dbdd56c8e3087bb7fcee20bd732e4a868f789 | |
parent | 873960c89ed5ff519cc13145ea0828de29c27e55 (diff) | |
download | u-boot-imx-d6b6303dbe00f99d105f1d4479f6ea60434861c1.zip u-boot-imx-d6b6303dbe00f99d105f1d4479f6ea60434861c1.tar.gz u-boot-imx-d6b6303dbe00f99d105f1d4479f6ea60434861c1.tar.bz2 |
arm: mvebu: Enable NAND on db-mv784mp-gp
This patch enables NAND support on the Marvell Armada XP
DB-MV784MP-GP eval board.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Peter Morrow <peter@senient.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
-rw-r--r-- | configs/db-mv784mp-gp_defconfig | 1 | ||||
-rw-r--r-- | include/configs/db-mv784mp-gp.h | 5 |
2 files changed, 6 insertions, 0 deletions
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 eec2ba9..f612e72 100644 --- a/include/configs/db-mv784mp-gp.h +++ b/include/configs/db-mv784mp-gp.h @@ -33,6 +33,7 @@ #define CONFIG_CMD_ENV #define CONFIG_CMD_I2C #define CONFIG_CMD_IDE +#define CONFIG_CMD_NAND #define CONFIG_CMD_PCI #define CONFIG_CMD_PING #define CONFIG_CMD_SF @@ -110,6 +111,10 @@ #define CONFIG_PCI_SCAN_SHOW #define CONFIG_E1000 /* enable Intel E1000 support for testing */ +/* 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 |