From: Andre Przywara Date: Tue, 26 Apr 2022 23:08:18 +0000 (+0100) Subject: sunxi: licheepi_nano: enable SPI flash X-Git-Tag: baikal/mips/sdk5.8.2~5^2~285^2~7 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=0f2c2dcc76c9a03ad4e356800c5399e32ffc2385;p=uboot.git sunxi: licheepi_nano: enable SPI flash Many LicheePi Nano boards come with SPI flash soldered, which already works for booting the SPL and loading U-Boot proper. With the updated DTB, we can now also use the SPI flash from U-Boot proper, so enable the bits in the defconfig, to allow loading binaries from SPI flash. There seem to be board revisions with a Winbond SPI chip, but also others with an XTX chip, so include support for both: the actual chip used will be autodetected. Signed-off-by: Andre Przywara --- diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig index 0252763c77..30c569dbb6 100644 --- a/configs/licheepi_nano_defconfig +++ b/configs/licheepi_nano_defconfig @@ -13,3 +13,6 @@ CONFIG_SPL_SPI_SUNXI=y CONFIG_SPL_STACK=0x8000 CONFIG_SYS_PBSIZE=1024 # CONFIG_SYSRESET is not set +CONFIG_SPI_FLASH_WINBOND=y +CONFIG_SPI_FLASH_XTX=y +CONFIG_SPI=y