]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: phycore-imx8mp_defconfig: Enable LTO
authorTeresa Remmet <t.remmet@phytec.de>
Wed, 14 Jun 2023 12:36:47 +0000 (14:36 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
Enable LTO for binary size reduction.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
configs/phycore-imx8mp_defconfig

index 3d076204ad03d9b5b2b316e2e8c340f379024cc5..7bf404be860bf9640d2d626ef5226260f5683a0b 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_SPL_STACK=0x960000
 CONFIG_SPL=y
 CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000
 CONFIG_SYS_LOAD_ADDR=0x40480000
+CONFIG_LTO=y
 CONFIG_FIT=y
 CONFIG_FIT_EXTERNAL_OFFSET=0x3000
 CONFIG_SPL_LOAD_FIT=y