]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: kirkwood: Pogo v4: Enable LTO
authorTony Dinh <mibodhi@gmail.com>
Mon, 16 Oct 2023 20:01:41 +0000 (13:01 -0700)
committerStefan Roese <sr@denx.de>
Fri, 20 Oct 2023 09:57:26 +0000 (11:57 +0200)
Enable building Pogo V4 u-boot image with LTO, which results in about 30K
reduction in size.

Rebased to latest master and resend.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
configs/pogo_v4_defconfig

index cbbade3c0ca192ebb2d5cafa1c4841c18cd2bed4..fd62146ed33e9d14db01b7521ed32950443aee9d 100644 (file)
@@ -15,6 +15,7 @@ CONFIG_ENV_OFFSET=0xC0000
 CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
 CONFIG_IDENT_STRING="\nPogoplug V4"
 CONFIG_SYS_LOAD_ADDR=0x800000
+CONFIG_LTO=y
 CONFIG_PCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTSTAGE=y