env: sunxi: enable ENV_IS_IN_SPI_FLASH
authorAndre Przywara <andre.przywara@arm.com>
Tue, 11 Jan 2022 12:46:05 +0000 (12:46 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 10 Mar 2022 12:04:11 +0000 (17:34 +0530)
commit753a85fd151d28a55c6bb4d15bd3bc44dd4b5e22
tree459e52bc7b6bf8c849eff448fdfc75a97b5927a4
parente42dad4168fe7acae810f759078a8cdfe2cd9086
env: sunxi: enable ENV_IS_IN_SPI_FLASH

Now that sunxi uses CONFIG_SPI more sanely, and can also now properly
load the environment from SPI flash, let's enable the symbol that
actually considers the SPI flash when accessing the environment.

As this symbol depends on CONFIG_SPI, which we now only enable if the
board has a SPI flash, we can make if "default y" for all Allwinner
boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
env/Kconfig