summaryrefslogtreecommitdiff
path: root/include/configs/sama5d2_xplained.h
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2018-08-21 12:52:22 +0300
committerTom Rini <trini@konsulko.com>2018-09-25 21:48:43 -0400
commit3f61f086368f57859e78b36b703d56a8c75b9b2e (patch)
tree2af2009f845228fffa3a83f8390fcad2c9d53f03 /include/configs/sama5d2_xplained.h
parent04ce5427bd3914cab8be78513275a20ab878520a (diff)
configs: sama5d2_xplained: Add defconfig for ENV/boot from eMMC
This adds a defconfig for sama5d2_xplained board to get environment from eMMC. The defconfig is made from sama5d2_xplained_mmc_defconfig, with 'bootcmd' and 'bootargs' changed to kernel, device-tree and rootfs from eMMC. The environment is expected to be found in eMMC's FAT partition. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Diffstat (limited to 'include/configs/sama5d2_xplained.h')
-rw-r--r--include/configs/sama5d2_xplained.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h
index 92f7f0df0e..2cec1c7b42 100644
--- a/include/configs/sama5d2_xplained.h
+++ b/include/configs/sama5d2_xplained.h
@@ -36,8 +36,8 @@
/* bootstrap + u-boot + env in sd card */
#undef CONFIG_BOOTCOMMAND
-#define CONFIG_BOOTCOMMAND "fatload mmc 1:1 0x21000000 at91-sama5d2_xplained.dtb; " \
- "fatload mmc 1:1 0x22000000 zImage; " \
+#define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x21000000 at91-sama5d2_xplained.dtb; " \
+ "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x22000000 zImage; " \
"bootz 0x22000000 - 0x21000000"
#elif CONFIG_SPI_BOOT