configs: sama5d2_xplained: set default FAT env location to SD-Card
authorEugen Hristev <eugen.hristev@microchip.com>
Fri, 11 May 2018 08:14:31 +0000 (11:14 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 23 May 2018 21:30:04 +0000 (17:30 -0400)
For sama5d2_xplained_mmc_defconfig, we have the following layout for SD-Card:
partition 1: FAT: contains bootstrap binary (second level bootloader),
U-boot, U-boot env, kernel, dtb
partition 2: EXT4: Rootfs.

Add to defconfig CONFIG_ENV_FAT_DEVICE_AND_PART to have environment
by default on SD-Card, to align with our demo layout.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
configs/sama5d2_xplained_mmc_defconfig

index 6d1dc924f563b0f0809a1b63b00b1d78d597ce49..6363b485ff28b304c5dee662e6088b8074c7d87e 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-parent dmas dma-names"
 CONFIG_ENV_IS_IN_FAT=y
+CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y