summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-03-07 08:51:04 +0100
committerStefano Babic <[email protected]>2023-04-04 09:37:05 +0200
commit58ec2711fdc3ced5aeff9326eed496e09f694da2 (patch)
tree8f2a802247a28ee60d08b26ff96e4207e127d834
parent302f7e80b9d599c737bf804ee66728c67d3b739e (diff)
ARM: imx: Enable LTO for DH electronics i.MX6 DHCOM
Enable LTO to reduce the size of SPL, which with SPL SDP support may be close to the limit. Signed-off-by: Marek Vasut <[email protected]>
-rw-r--r--configs/dh_imx6_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
index 29b07821bff..fa2d7f3d096 100644
--- a/configs/dh_imx6_defconfig
+++ b/configs/dh_imx6_defconfig
@@ -28,6 +28,7 @@ CONFIG_SPL_SPI=y
CONFIG_AHCI=y
CONFIG_SYS_MEMTEST_START=0x10000000
CONFIG_SYS_MEMTEST_END=0x20000000
+CONFIG_LTO=y
CONFIG_SYS_MONITOR_LEN=409600
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y