aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut2023-02-11 22:48:24 +0100
committerStefano Babic2023-03-30 08:40:27 +0200
commit5c0ca5238b01efe759fb43ca9bef616bf533a9ba (patch)
tree58ced2df1b98f7f081db676fc37aa9085c1016a4
parent3a84d61fd4fe6bc8eaa6eaf244368152e39f42cb (diff)
ARM: imx: Enable LTO for DH electronics i.MX8M Plus DHCOM
Enable LTO to reduce the size of SPL, which with multiple DRAM calibration tables may be close to the limit. Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r--configs/imx8mp_dhcom_pdk2_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/imx8mp_dhcom_pdk2_defconfig b/configs/imx8mp_dhcom_pdk2_defconfig
index 6452c219e2a..c065706707c 100644
--- a/configs/imx8mp_dhcom_pdk2_defconfig
+++ b/configs/imx8mp_dhcom_pdk2_defconfig
@@ -31,6 +31,7 @@ CONFIG_IMX_BOOTAUX=y
CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000
CONFIG_SYS_LOAD_ADDR=0x50000000
CONFIG_DEBUG_UART=y
+CONFIG_LTO=y
CONFIG_ENV_VARS_UBOOT_CONFIG=y
CONFIG_SYS_MONITOR_LEN=1048576
CONFIG_FIT=y