diff options
| author | Adam Ford <aford173@gmail.com> | 2023-05-29 13:08:34 -0500 | 
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2023-07-13 11:58:18 +0200 | 
| commit | 0a4e4143603fc7468ffb3bacf73b52d9620f27db (patch) | |
| tree | 6bac0e7671985cd56fdf136b1c5f723fae8ea25b | |
| parent | 65648b26c67ad63c6ed68fd217233923b9d9d0e8 (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>
| -rw-r--r-- | configs/imx8mp_beacon_defconfig | 1 | 
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 | 
