diff options
author | Andre Przywara <andre.przywara@arm.com> | 2022-04-27 00:08:18 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2022-07-18 11:34:26 +0100 |
commit | 642e65749dd4d7b9e660c71a2fd873e9839db8c7 (patch) | |
tree | eed19b7784ea0f1f8edafa87a4cdb6122bf630b7 | |
parent | 8649995c76bb38b9cbfd94169e41ce80c0d5f6ac (diff) | |
download | u-boot-642e65749dd4d7b9e660c71a2fd873e9839db8c7.zip u-boot-642e65749dd4d7b9e660c71a2fd873e9839db8c7.tar.gz u-boot-642e65749dd4d7b9e660c71a2fd873e9839db8c7.tar.bz2 |
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 <andre.przywara@arm.com>
-rw-r--r-- | configs/licheepi_nano_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/licheepi_nano_defconfig b/configs/licheepi_nano_defconfig index 0252763..30c569d 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 |