From: Stefan Roese Date: Thu, 23 Jul 2015 08:26:18 +0000 (+0200) Subject: arm: mvebu: Enable NAND on db-mv784mp-gp X-Git-Tag: v2015.10-rc3~93^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d6b6303dbe00f99d105f1d4479f6ea60434861c1;p=oweals%2Fu-boot.git 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 Cc: Peter Morrow Cc: Luka Perkov --- diff --git a/configs/db-mv784mp-gp_defconfig b/configs/db-mv784mp-gp_defconfig index d11377f0ed..c9859a8a5b 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 eec2ba933f..f612e72d88 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