Skip to contentSkip to conversation

arm: kirkwood: Pogo v4: Enable LTO

PATCH Superseded Tony Dinh 2 participants 3 messages Aug 24, 2023 – Oct 16, 2023

lore
Share & tools
lore

Tony Dinh

author
#0 lore raw

PATCH 1/1 arm: kirkwood: Pogo v4: Enable LTO

Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size.

---

 configs/pogo_v4_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/pogo_v4_defconfig +1 -0
index 3e3e811543..ad36da712b 100644
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
 CONFIG_SYS_PROMPT="Pogo_V4> "
 CONFIG_IDENT_STRING="\nPogoplug V4"
 CONFIG_SYS_LOAD_ADDR=0x800000
+CONFIG_LTO=y
 CONFIG_PCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTSTAGE=y
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Tony Dinh

Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size.

Thanks,
Stefan

Quoted 10 lines

---

  configs/pogo_v4_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/pogo_v4_defconfig +0 -0
index 3e3e811543..ad36da712b 100644

configs/pogo_v4_defconfig CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4" · line 22

Quoted 7 lines
configs/pogo_v4_defconfig +1 -0
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
  CONFIG_SYS_PROMPT="Pogo_V4> "
  CONFIG_IDENT_STRING="\nPogoplug V4"
  CONFIG_SYS_LOAD_ADDR=0x800000
+CONFIG_LTO=y
  CONFIG_PCI=y
  CONFIG_DISTRO_DEFAULTS=y
  CONFIG_BOOTSTAGE=y

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
#2 lore raw
In reply to Tony Dinh
Quoted 4 lines · Tony Dinh

Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size.

Does not apply to latest master. Please rebase and resend.

Thanks,
Stefan

Quoted 10 lines

---

  configs/pogo_v4_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/pogo_v4_defconfig +0 -0
index 3e3e811543..ad36da712b 100644

configs/pogo_v4_defconfig CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4" · line 22

Quoted 7 lines
configs/pogo_v4_defconfig +1 -0
@@ -16,6 +16,7 @@ CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
  CONFIG_SYS_PROMPT="Pogo_V4> "
  CONFIG_IDENT_STRING="\nPogoplug V4"
  CONFIG_SYS_LOAD_ADDR=0x800000
+CONFIG_LTO=y
  CONFIG_PCI=y
  CONFIG_DISTRO_DEFAULTS=y
  CONFIG_BOOTSTAGE=y

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]