[U-Boot] [PATCH 3/3] ti: Default to ENV_IS_IN_FAT if MMC_OMAP_HS

Lokesh Vutla lokeshvutla at ti.com
Thu Jul 27 02:49:22 UTC 2017



On 7/26/2017 10:41 PM, Tom Rini wrote:
> When we have MMC available we assume that we want to put the env as a
> file on FAT.

On DRA7 and AM57 we use eMMC for saving env. Is it fine to imply FAT and
change it in defconfig to use raw partitions?

Thanks and regards,
Lokesh

> 
> Cc: Lokesh Vutla <lokeshvutla at ti.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  board/ti/common/Kconfig             | 1 +
>  configs/am335x_evm_defconfig        | 1 -
>  configs/am335x_evm_usbspl_defconfig | 1 -
>  configs/am335x_hs_evm_defconfig     | 1 -
>  configs/am43xx_evm_defconfig        | 1 -
>  configs/am43xx_hs_evm_defconfig     | 1 -
>  configs/k2g_evm_defconfig           | 1 -
>  configs/k2g_hs_evm_defconfig        | 1 -
>  8 files changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
> index c21eb8c2d2e3..c81baa12becc 100644
> --- a/board/ti/common/Kconfig
> +++ b/board/ti/common/Kconfig
> @@ -42,3 +42,4 @@ config TI_COMMON_CMD_OPTIONS
>  	imply CMD_SPI
>  	imply CMD_TIME
>  	imply CMD_USB if USB
> +	imply ENV_IS_IN_FAT if MMC_OMAP_HS
> diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
> index 4ea56178eeab..204d817c0a60 100644
> --- a/configs/am335x_evm_defconfig
> +++ b/configs/am335x_evm_defconfig
> @@ -7,7 +7,6 @@ CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SYS_EXTRA_OPTIONS="NAND"
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_ARCH_MISC_INIT=y
> diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
> index 51d1042c3433..84e746916cfa 100644
> --- a/configs/am335x_evm_usbspl_defconfig
> +++ b/configs/am335x_evm_usbspl_defconfig
> @@ -6,7 +6,6 @@ CONFIG_AM33XX=y
>  CONFIG_SPL_STACK_R_ADDR=0x82000000
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_SYS_EXTRA_OPTIONS="NAND"
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_ARCH_MISC_INIT=y
> diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig
> index ffdbe7585573..52cbf05ab025 100644
> --- a/configs/am335x_hs_evm_defconfig
> +++ b/configs/am335x_hs_evm_defconfig
> @@ -12,7 +12,6 @@ CONFIG_FIT_IMAGE_POST_PROCESS=y
>  CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
>  CONFIG_SYS_EXTRA_OPTIONS="NAND"
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_ARCH_MISC_INIT=y
> diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
> index ae2ae1ae516a..903bd69ad209 100644
> --- a/configs/am43xx_evm_defconfig
> +++ b/configs/am43xx_evm_defconfig
> @@ -7,7 +7,6 @@ CONFIG_SPL_STACK_R_ADDR=0x82000000
>  CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
>  CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,NAND"
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_SPL=y
> diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig
> index 5306c26b9908..b8e3fd46f272 100644
> --- a/configs/am43xx_hs_evm_defconfig
> +++ b/configs/am43xx_hs_evm_defconfig
> @@ -15,7 +15,6 @@ CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
>  CONFIG_OF_BOARD_SETUP=y
>  CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,NAND"
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_SPL=y
> diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
> index 332c4d18101b..1eed60576cdd 100644
> --- a/configs/k2g_evm_defconfig
> +++ b/configs/k2g_evm_defconfig
> @@ -10,7 +10,6 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
>  CONFIG_SPL_SPI_SUPPORT=y
>  CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
>  CONFIG_OF_BOARD_SETUP=y
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_DTB_RESELECT=y
>  CONFIG_FIT_EMBED=y
> diff --git a/configs/k2g_hs_evm_defconfig b/configs/k2g_hs_evm_defconfig
> index 2e2b18c18565..51c701ed902d 100644
> --- a/configs/k2g_hs_evm_defconfig
> +++ b/configs/k2g_hs_evm_defconfig
> @@ -5,7 +5,6 @@ CONFIG_TI_COMMON_CMD_OPTIONS=y
>  CONFIG_TARGET_K2G_EVM=y
>  CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
>  CONFIG_OF_BOARD_SETUP=y
> -CONFIG_ENV_IS_IN_FAT=y
>  CONFIG_SYS_CONSOLE_INFO_QUIET=y
>  CONFIG_VERSION_VARIABLE=y
>  CONFIG_HUSH_PARSER=y
> 


More information about the U-Boot mailing list