From dc018fef2fd11555d6492a242256da68d07c8ef2 Mon Sep 17 00:00:00 2001 From: "Wu, Josh" Date: Wed, 19 Aug 2015 19:11:20 +0800 Subject: ARM: at91: sama5: move the nandflash env config to at91-sama5_common.h As all sama5 nandflash env configurations are same, so move them to at91-sama5_common.h. Signed-off-by: Josh Wu --- include/configs/sama5d3_xplained.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/configs/sama5d3_xplained.h') diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h index 91ef123..73de62c 100644 --- a/include/configs/sama5d3_xplained.h +++ b/include/configs/sama5d3_xplained.h @@ -115,14 +115,7 @@ #define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */ #if CONFIG_SYS_USE_NANDFLASH -/* bootstrap + u-boot + env in nandflash */ -#define CONFIG_ENV_IS_IN_NAND -#define CONFIG_ENV_OFFSET 0xc0000 -#define CONFIG_ENV_OFFSET_REDUND 0x100000 -#define CONFIG_ENV_SIZE 0x20000 -#define CONFIG_BOOTCOMMAND "nand read 0x21000000 0x180000 0x80000;" \ - "nand read 0x22000000 0x200000 0x600000;" \ - "bootz 0x22000000 - 0x21000000" +/* override the bootcmd, bootargs and other configuration for nandflash env */ #elif CONFIG_SYS_USE_MMC /* override the bootcmd, bootargs and other configuration for sd/mmc env */ #else -- cgit v1.1