diff mbox series

[U-Boot] configs: sama5d2_ptc_ek: read environment from FAT

Message ID 1540282060-8050-1-git-send-email-andrei.stefanescu@microchip.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot] configs: sama5d2_ptc_ek: read environment from FAT | expand

Commit Message

Andrei.Stefanescu@microchip.com Oct. 23, 2018, 8:13 a.m. UTC
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.

Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com>
---
 configs/sama5d2_ptc_ek_mmc_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eugen Hristev Oct. 23, 2018, 10:45 a.m. UTC | #1
On 23.10.2018 11:13, Andrei.Stefanescu@microchip.com wrote:
> 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.
> 
> Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com>
Acked-by: Eugen Hristev <eugen.hristev@microchip.com>

> ---
>   configs/sama5d2_ptc_ek_mmc_defconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/sama5d2_ptc_ek_mmc_defconfig b/configs/sama5d2_ptc_ek_mmc_defconfig
> index c378465..83d3fb6 100644
> --- a/configs/sama5d2_ptc_ek_mmc_defconfig
> +++ b/configs/sama5d2_ptc_ek_mmc_defconfig
> @@ -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
>
Tom Rini Nov. 2, 2018, 8:29 p.m. UTC | #2
On Tue, Oct 23, 2018 at 08:13:35AM +0000, Andrei.Stefanescu@microchip.com wrote:

> 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.
> 
> Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com>
> Acked-by: Eugen Hristev <eugen.hristev@microchip.com>

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

Patch

diff --git a/configs/sama5d2_ptc_ek_mmc_defconfig b/configs/sama5d2_ptc_ek_mmc_defconfig
index c378465..83d3fb6 100644
--- a/configs/sama5d2_ptc_ek_mmc_defconfig
+++ b/configs/sama5d2_ptc_ek_mmc_defconfig
@@ -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