mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
18 lines
448 B
Text
18 lines
448 B
Text
CONFIG_ARM=y
|
|
CONFIG_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c100s-licheepi-nano"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUNIV=y
|
|
CONFIG_DRAM_CLK=156
|
|
CONFIG_DRAM_ZQ=0
|
|
# CONFIG_VIDEO_SUNXI is not set
|
|
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
|