[PATCH 1/2] arm: mvebu: Espressobin: Make SPI env offset compatible with Marvell's U-Boot

Stefan Roese sr at denx.de
Thu Aug 20 06:59:53 CEST 2020


On 19.08.20 16:24, Pali Rohár wrote:
> Espressobin board comes with Marvell's U-Boot version where U-Boot env is
> stored in SPI at offset 0x3F0000. This patch changes env offset in
> Espressobin defconfig file to match Marvell's U-Boot version.
> 
> Users who want to use previous or different env offset can still change it
> in .config file when compiling U-Boot.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   configs/mvebu_espressobin-88f3720_defconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig
> index 933592af88..afcdd947c1 100644
> --- a/configs/mvebu_espressobin-88f3720_defconfig
> +++ b/configs/mvebu_espressobin-88f3720_defconfig
> @@ -6,7 +6,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=1
>   CONFIG_TARGET_MVEBU_ARMADA_37XX=y
>   CONFIG_ENV_SIZE=0x10000
> -CONFIG_ENV_OFFSET=0x180000
> +CONFIG_ENV_OFFSET=0x3F0000
>   CONFIG_ENV_SECT_SIZE=0x10000
>   CONFIG_DM_GPIO=y
>   CONFIG_DEBUG_UART_BASE=0xd0012000
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list