Skip to contentSkip to conversation

configs: sama5d2_ptc_ek: read environment from FAT

PATCH In review Andrei.Stefanescu at microchip.com 3 participants 3 messages Oct 23, 2018 – Nov 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: sama5d2_ptc_ek: read environment from FAT

On our demo setup for SD card boot, the u-boot environment is in a FAT partition.

This patch changes the default configuration, specifing that the u-boot environment is in a FAT partition instead of raw MMC.

---
 configs/sama5d2_ptc_ek_mmc_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/sama5d2_ptc_ek_mmc_defconfig +1 -1
index c378465..83d3fb6 100644
@@ -30,7 +30,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
-CONFIG_ENV_IS_IN_MMC=y
+CONFIG_ENV_IS_IN_FAT=y
 CONFIG_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_CLK=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 configs: sama5d2_ptc_ek: read environment from FAT

Quoted 7 lines · Andrei.Stefanescu at microchip.com

On our demo setup for SD card boot, the u-boot environment is in a FAT partition.

This patch changes the default configuration, specifing that the u-boot environment is in a FAT partition instead of raw MMC.

Quoted 18 lines
---
  configs/sama5d2_ptc_ek_mmc_defconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
configs/sama5d2_ptc_ek_mmc_defconfig +1 -1
index c378465..83d3fb6 100644
@@ -30,7 +30,7 @@ CONFIG_CMD_PING=y
  CONFIG_CMD_EXT4=y
  CONFIG_CMD_FAT=y
  CONFIG_OF_CONTROL=y
-CONFIG_ENV_IS_IN_MMC=y
+CONFIG_ENV_IS_IN_FAT=y
  CONFIG_DM=y
  CONFIG_SPL_DM_SEQ_ALIAS=y
  CONFIG_CLK=y
#2 lore raw
In reply to Andrei.Stefanescu at microchip.com
Quoted 8 lines · Andrei.Stefanescu at microchip.com

On our demo setup for SD card boot, the u-boot environment is in a FAT partition.

This patch changes the default configuration, specifing that the u-boot environment is in a FAT partition instead of raw MMC.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181102/d0ad2c82/attachment.sig>