]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Fix Espressobin build for configs where ENV is not in SPI
authorRogier Stam <rogier@unrailed.org>
Tue, 8 Feb 2022 23:27:00 +0000 (00:27 +0100)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:26 +0000 (12:31 +0200)
commita37b68820c432ff9b0b3dab597d94f7bbfa5d1e2
treecfdebf25a082a3470bc2b843b61c8e99a25c4a3d
parent83a8e27062d2c24e001426c4c35859e133e2f1d5
arm: mvebu: Fix Espressobin build for configs where ENV is not in SPI

When storing the UBoot Environment in for example EXT4,
the U-Boot build is broken for several reasons:
1. armada-385-turris-omnia-u-boot.dtsi will not allow
   CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE to be undefined
2. armada-37xx/board.c ft_board_setup function does not
   exist if CONFIG_ENV_IS_IN_SPI_FLASH is not defined

This commit changes these files so that selecting a
different location for the environment is possible.

Signed-off-by: Rogier Stam <rogier@unrailed.org>
Reviewed-by: Pali Rohár <pali@kernel.org>
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi
board/Marvell/mvebu_armada-37xx/board.c