aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2022-03-23 17:52:17 +0100
committerStefano Babic <sbabic@denx.de>2022-04-12 13:39:33 +0200
commitebe757d9958841fe14bbdfd34118aacfd0e50591 (patch)
treea30353367f7ee91728cd59a58bdfbb0c803313cb /configs
parent6a8829ae13a19f4449ddcb9aa5f5b7fb8225f1b4 (diff)
downloadu-boot-ebe757d9958841fe14bbdfd34118aacfd0e50591.zip
u-boot-ebe757d9958841fe14bbdfd34118aacfd0e50591.tar.gz
u-boot-ebe757d9958841fe14bbdfd34118aacfd0e50591.tar.bz2
configs: imx6dl_mamoj_defconfig: Enable LTO on imx6dl_mamoj board
Enable LTO on mamoj to reduce SPL and uboot size. Tested with gcc gcc-11.1.0 U-Boot 2022.04-rc4-00051-g17fc5facd0 (Mar 23 2022 - 16:43:43 +0100) CPU: Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 40C Reset cause: POR Model: BTicino i.MX6DL Mamoj board DRAM: 512 MiB Core: 29 devices, 12 uclasses, devicetree: separate MMC: FSL_SDHC: 2 Loading Environment from MMC... OK In: serial Out: serial Err: serial Net: Error: ethernet@2188000 address not set. No ethernet found. Tested-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/imx6dl_mamoj_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/imx6dl_mamoj_defconfig b/configs/imx6dl_mamoj_defconfig
index f898279..b94878a 100644
--- a/configs/imx6dl_mamoj_defconfig
+++ b/configs/imx6dl_mamoj_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL_TEXT_BASE=0x00908000
CONFIG_SPL_DRIVERS_MISC=y
CONFIG_IMX_HAB=y
# CONFIG_CMD_BMODE is not set
+CONFIG_LTO=y
CONFIG_SYS_MEMTEST_START=0x80000000
CONFIG_SYS_MEMTEST_END=0x88000000
CONFIG_DISTRO_DEFAULTS=y