[PATCH 4/4] configs: evb-ast2500: Set environment in SPI flash

Joel Stanley joel at jms.id.au
Thu Oct 27 08:40:28 CEST 2022


On Wed, 26 Oct 2022 at 13:11, Cédric Le Goater <clg at kaod.org> wrote:
>
> We now have a SPI flash driver. Let's use it.
>
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Reviewed-by: Joel Stanley <joel at jms.id.au>

> ---
>  configs/evb-ast2500_defconfig | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig
> index 5364b6ac3703..65a7056ebdbf 100644
> --- a/configs/evb-ast2500_defconfig
> +++ b/configs/evb-ast2500_defconfig
> @@ -5,7 +5,9 @@ CONFIG_SYS_TEXT_BASE=0x0
>  CONFIG_SYS_MALLOC_LEN=0x2000000
>  CONFIG_TARGET_EVB_AST2500=y
>  CONFIG_NR_DRAM_BANKS=1
> -CONFIG_ENV_SIZE=0x20000
> +CONFIG_ENV_SIZE=0x10000
> +CONFIG_ENV_OFFSET=0x60000
> +CONFIG_ENV_SECT_SIZE=0x1000
>  CONFIG_DM_GPIO=y
>  CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
>  CONFIG_PRE_CON_BUF_ADDR=0x1e720000
> @@ -31,6 +33,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_NCSI=y
>  CONFIG_ENV_OVERWRITE=y
> +CONFIG_ENV_IS_IN_SPI_FLASH=y
>  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>  CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_REGMAP=y
> --
> 2.37.3
>


More information about the U-Boot mailing list