diff mbox series

[U-Boot,1/2] configs: sama5d2_xplained: set default FAT env location to SD-Card

Message ID 1526026472-14683-1-git-send-email-eugen.hristev@microchip.com
State Accepted
Commit e75477e4f29b1564ee3aa2f85b061cc4d3560a36
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/2] configs: sama5d2_xplained: set default FAT env location to SD-Card | expand

Commit Message

Eugen Hristev May 11, 2018, 8:14 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini May 24, 2018, 12:41 p.m. UTC | #1
On Fri, May 11, 2018 at 11:14:31AM +0300, Eugen Hristev wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig
index 066fdb3..b5233a6 100644
--- a/configs/sama5d2_xplained_mmc_defconfig
+++ b/configs/sama5d2_xplained_mmc_defconfig
@@ -39,6 +39,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