diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-13 17:40:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-13 17:40:35 -0400 |
commit | c865deeb69d967d3cbfb0800af7a13f411fdeb16 (patch) | |
tree | 3fc183de4d021e59f082d442fb6ce334fac61983 | |
parent | 8b08b12b26a3d994a0b0359b23766922eec037ca (diff) | |
download | u-boot-WIP/resync-compiler.h-etc-v5.7-rc5.tar.gz |
socfpga: Enable optimized inlining on stratix10WIP/resync-compiler.h-etc-v5.7-rc5
Enable the new CONFIG_OPTIMIZE_INLINING and CONFIG_SPL_OPTIMIZE_INLINING
options for this platform. With gcc-9.2 from kernel.org this saves us
1784 bytes in U-Boot and 80 bytes in SPL.
Cc: Chin-Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinh.nguyen@intel.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | configs/socfpga_stratix10_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig index 21014f9f8c..e4f9147718 100644 --- a/configs/socfpga_stratix10_defconfig +++ b/configs/socfpga_stratix10_defconfig @@ -11,6 +11,8 @@ CONFIG_TARGET_SOCFPGA_STRATIX10_SOCDK=y CONFIG_IDENT_STRING="socfpga_stratix10" CONFIG_SPL_FS_FAT=y CONFIG_SPL_TEXT_BASE=0xFFE00000 +CONFIG_OPTIMIZE_INLINING=y +CONFIG_SPL_OPTIMIZE_INLINING=y CONFIG_BOOTDELAY=5 CONFIG_SPL_SPI_LOAD=y CONFIG_HUSH_PARSER=y |