summaryrefslogtreecommitdiff
path: root/configs/socfpga_stratix10_defconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-14 15:30:09 +0300
committerTom Rini <trini@konsulko.com>2020-07-01 18:48:05 +0300
commit9d0087aa0d236d2f3bcc71abd02d67ec208dbebf (patch)
tree1cfdbac0fe3f6b09b2e1477fcb11dc723fe80104 /configs/socfpga_stratix10_defconfig
parent72c4d40d8ca7df7920dde4bbf1315c836d7ab7c8 (diff)
downloadu-boot-9d0087aa0d236d2f3bcc71abd02d67ec208dbebf.tar.xz
socfpga: Enable optimized inlining on stratix10
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: Marek Vasut <marex@denx.de> Cc: Chin-Liang See <chin.liang.see@intel.com> Cc: Dinh Nguyen <dinh.nguyen@intel.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs/socfpga_stratix10_defconfig')
-rw-r--r--configs/socfpga_stratix10_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig
index 9611206234..587745f4e8 100644
--- a/configs/socfpga_stratix10_defconfig
+++ b/configs/socfpga_stratix10_defconfig
@@ -12,6 +12,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_USE_BOOTARGS=y
CONFIG_BOOTARGS="earlycon"