aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Dinh2023-10-16 13:01:41 -0700
committerStefan Roese2023-10-20 11:57:26 +0200
commit1060db76b04371d805f39a3986012875eee91f52 (patch)
tree49f379f03302b68a91a9d481ca4805f658036a69
parente463222cce0df86f05a117f06e1737f539841fe6 (diff)
arm: kirkwood: Pogo v4: Enable LTO
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>
-rw-r--r--configs/pogo_v4_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig
index cbbade3c0ca..fd62146ed33 100644
--- a/configs/pogo_v4_defconfig
+++ b/configs/pogo_v4_defconfig
@@ -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