summaryrefslogtreecommitdiffstats
path: root/include/configs/sama5d3xek.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2015-08-19 19:11:18 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-08-21 15:47:04 +0200
commit372ca03fcd3cc777677d683336e9965c02fc42f2 (patch)
treeb018187bc67bafa1136a7c1c85a61b186d67897f /include/configs/sama5d3xek.h
parentbfc37f3cb8adf48297bed1088d42df5d119ec12d (diff)
downloadtalos-obmc-uboot-372ca03fcd3cc777677d683336e9965c02fc42f2.tar.gz
talos-obmc-uboot-372ca03fcd3cc777677d683336e9965c02fc42f2.zip
ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h
As almost all sama5 sd/mmc env configurations are same, so move them to at91-sama5_common.h. Also define CONFIG_ENV_VARS_UBOOT_CONFIG to have the varaible: $board_name. Then we can use 'at91-${board_name}.dtb' as the dtb name. TODO: since sama5d3xek has different dtb name, we need to some extra stuff to make it work on sama5d3xek boards. Signed-off-by: Josh Wu <josh.wu@atmel.com>
Diffstat (limited to 'include/configs/sama5d3xek.h')
-rw-r--r--include/configs/sama5d3xek.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h
index 9497bea946..5c7b722da3 100644
--- a/include/configs/sama5d3xek.h
+++ b/include/configs/sama5d3xek.h
@@ -171,15 +171,7 @@
"nand read 0x22000000 0x200000 0x600000;" \
"bootm 0x22000000 - 0x21000000"
#elif CONFIG_SYS_USE_MMC
-/* bootstrap + u-boot + env in sd card */
-#define CONFIG_ENV_IS_IN_FAT
-#define FAT_ENV_INTERFACE "mmc"
-#define FAT_ENV_FILE "uboot.env"
-#define FAT_ENV_DEVICE_AND_PART "0"
-#define CONFIG_ENV_SIZE 0x4000
-#define CONFIG_BOOTCOMMAND "fatload mmc 0:1 0x21000000 dtb; " \
- "fatload mmc 0:1 0x22000000 uImage; " \
- "bootm 0x22000000 - 0x21000000"
+/* override the bootcmd, bootargs and other configuration for sd/mmc env */
#else
#define CONFIG_ENV_IS_NOWHERE
#endif
OpenPOWER on IntegriCloud