[PATCH u-boot v2019.04-aspeed-openbmc] aspeed: Disable unused loaders, add STMICRO flash
Joel Stanley
joel at jms.id.au
Wed Feb 16 10:47:30 AEDT 2022
By removing the unused loaders we save enough space to enable the ST
Micro flash devices and still fit in the size limit:
text data bss dec hex filename
340614 13608 0 354222 567ae ast2400-obj/u-boot
340923 13632 0 354555 568fb ast2500-obj/u-boot
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
configs/evb-ast2400_defconfig | 4 ++++
configs/evb-ast2500_defconfig | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/configs/evb-ast2400_defconfig b/configs/evb-ast2400_defconfig
index bb9c80a88521..f92dbfd668cd 100644
--- a/configs/evb-ast2400_defconfig
+++ b/configs/evb-ast2400_defconfig
@@ -17,6 +17,8 @@ CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
CONFIG_HUSH_PARSER=y
# CONFIG_AUTO_COMPLETE is not set
CONFIG_SYS_PROMPT="ast# "
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
CONFIG_CMD_MEMTEST=y
CONFIG_SYS_ALT_MEMTEST=y
CONFIG_CMD_CLK=y
@@ -51,6 +53,7 @@ CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_PHY_REALTEK=y
CONFIG_DM_ETH=y
@@ -65,3 +68,4 @@ CONFIG_DM_SPI=y
CONFIG_SYSRESET=y
CONFIG_TIMER=y
CONFIG_WDT=y
+# CONFIG_EFI_LOADER is not set
diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig
index 000ed3f90bdd..91921cf76e62 100644
--- a/configs/evb-ast2500_defconfig
+++ b/configs/evb-ast2500_defconfig
@@ -17,6 +17,8 @@ CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
CONFIG_HUSH_PARSER=y
# CONFIG_AUTO_COMPLETE is not set
CONFIG_SYS_PROMPT="ast# "
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_XIMG is not set
CONFIG_CMD_MEMTEST=y
CONFIG_SYS_ALT_MEMTEST=y
CONFIG_CMD_CLK=y
@@ -52,6 +54,7 @@ CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_GIGADEVICE=y
CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_PHY_REALTEK=y
CONFIG_DM_ETH=y
@@ -66,3 +69,4 @@ CONFIG_DM_SPI=y
CONFIG_SYSRESET=y
CONFIG_TIMER=y
CONFIG_WDT=y
+# CONFIG_EFI_LOADER is not set
--
2.34.1
More information about the openbmc
mailing list