diff options
author | Stefan Roese <sr@denx.de> | 2021-05-12 10:18:37 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-05-16 07:48:45 +0300 |
commit | 76a516452b38c4f1542db382ebaf05054797100c (patch) | |
tree | a5df3baed29b7f67d999388f108c305f90c3dd9f /configs/x530_defconfig | |
parent | e644dfbb1786a4a3308b068e1f61cd9e2dfac237 (diff) | |
download | u-boot-76a516452b38c4f1542db382ebaf05054797100c.tar.xz |
mvebu: x530: Reduce SPL image size
Currently, building U-Boot for x530 fails since the SPL image is too
big. This patch reduces the SPL size by changing the following Kconfig
options:
Enable CONFIG_SPL_TINY_MEMSET
Disable CONFIG_SPI_FLASH_BAR
By disabling CONFIG_SPI_FLASH_BAR, the tiny SPI NOR framework can be
used.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Pratyush Yadav <p.yadav@ti.com>
Cc: Tom Rini <trini@konsulko.com>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'configs/x530_defconfig')
-rw-r--r-- | configs/x530_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/x530_defconfig b/configs/x530_defconfig index 890c94b5c1..76574c4de4 100644 --- a/configs/x530_defconfig +++ b/configs/x530_defconfig @@ -62,7 +62,6 @@ CONFIG_SYS_NAND_USE_FLASH_BBT=y CONFIG_NAND_PXA3XX=y CONFIG_SF_DEFAULT_BUS=1 CONFIG_SF_DEFAULT_SPEED=50000000 -CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_SST=y @@ -84,3 +83,4 @@ CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX88179=y CONFIG_WDT=y CONFIG_WDT_ORION=y +CONFIG_SPL_TINY_MEMSET=y |