aboutsummaryrefslogtreecommitdiff
path: root/configs/imx8mp_beacon_defconfig
diff options
context:
space:
mode:
authorAdam Ford2023-05-29 13:08:34 -0500
committerStefano Babic2023-07-13 11:58:18 +0200
commit0a4e4143603fc7468ffb3bacf73b52d9620f27db (patch)
tree6bac0e7671985cd56fdf136b1c5f723fae8ea25b /configs/imx8mp_beacon_defconfig
parent65648b26c67ad63c6ed68fd217233923b9d9d0e8 (diff)
arm64: imx: imx8mp-beacon: Enable LTO
With LTO enabled, SPL shrinks about 10K and U-Boot shrinks about 30K. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'configs/imx8mp_beacon_defconfig')
-rw-r--r--configs/imx8mp_beacon_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/imx8mp_beacon_defconfig b/configs/imx8mp_beacon_defconfig
index 99c4043ace8..77a10b901de 100644
--- a/configs/imx8mp_beacon_defconfig
+++ b/configs/imx8mp_beacon_defconfig
@@ -18,6 +18,7 @@ CONFIG_SYS_HAS_ARMV8_SECURE_BASE=y
CONFIG_TARGET_IMX8MP_BEACON=y
CONFIG_SYS_PROMPT="u-boot=> "
CONFIG_SYS_MONITOR_LEN=524288
+CONFIG_LTO=y
CONFIG_SPL_MMC=y
CONFIG_SPL_SERIAL=y
CONFIG_SPL_DRIVERS_MISC=y