summaryrefslogtreecommitdiffstats
path: root/include/configs/sama5d4ek.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2015-08-19 19:11:20 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-08-21 15:47:05 +0200
commitdc018fef2fd11555d6492a242256da68d07c8ef2 (patch)
treee09ff3f3b3831df65bde77b31608fbfd83ba58aa /include/configs/sama5d4ek.h
parent89a3658ac02873f32d7ad0a3b1d3c5308c5e2528 (diff)
downloadtalos-obmc-uboot-dc018fef2fd11555d6492a242256da68d07c8ef2.tar.gz
talos-obmc-uboot-dc018fef2fd11555d6492a242256da68d07c8ef2.zip
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 <josh.wu@atmel.com>
Diffstat (limited to 'include/configs/sama5d4ek.h')
-rw-r--r--include/configs/sama5d4ek.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h
index ee31e9de88..be2c2cec3d 100644
--- a/include/configs/sama5d4ek.h
+++ b/include/configs/sama5d4ek.h
@@ -127,14 +127,7 @@
"sf read 0x22000000 0x100000 0x300000; " \
"bootz 0x22000000 - 0x21000000"
#elif 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 */
#endif
OpenPOWER on IntegriCloud