Re: [RESEND PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-10-20 Thread Stefan Roese

On 10/20/23 08:14, Stefan Roese wrote:

On 10/16/23 22:01, Tony Dinh wrote:

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

Rebased to latest master and resend.


Nitpicking:

In such cases, please generate a v2 and put this description in the
patch history below the "---" line. No need to do this now, I'll fix
it up.


Signed-off-by: Tony Dinh 


Reviewed-by: Stefan Roese 


Applied to u-boot-marvell/master

Thanks,
Stefan



Thanks,
Stefan


---

  configs/pogo_v4_defconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig
index cbbade3c0c..fd62146ed3 100644
--- a/configs/pogo_v4_defconfig
+++ b/configs/pogo_v4_defconfig
@@ -15,6 +15,7 @@ CONFIG_ENV_OFFSET=0xC
  CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
  CONFIG_IDENT_STRING="\nPogoplug V4"
  CONFIG_SYS_LOAD_ADDR=0x80
+CONFIG_LTO=y
  CONFIG_PCI=y
  CONFIG_DISTRO_DEFAULTS=y
  CONFIG_BOOTSTAGE=y


Viele Grüße,
Stefan Roese



Viele Grüße,
Stefan Roese

--
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: s...@denx.de


Re: [RESEND PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-10-20 Thread Stefan Roese

On 10/16/23 22:01, Tony Dinh wrote:

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

Rebased to latest master and resend.


Nitpicking:

In such cases, please generate a v2 and put this description in the
patch history below the "---" line. No need to do this now, I'll fix
it up.


Signed-off-by: Tony Dinh 


Reviewed-by: Stefan Roese 

Thanks,
Stefan


---

  configs/pogo_v4_defconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig
index cbbade3c0c..fd62146ed3 100644
--- a/configs/pogo_v4_defconfig
+++ b/configs/pogo_v4_defconfig
@@ -15,6 +15,7 @@ CONFIG_ENV_OFFSET=0xC
  CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
  CONFIG_IDENT_STRING="\nPogoplug V4"
  CONFIG_SYS_LOAD_ADDR=0x80
+CONFIG_LTO=y
  CONFIG_PCI=y
  CONFIG_DISTRO_DEFAULTS=y
  CONFIG_BOOTSTAGE=y


Viele Grüße,
Stefan Roese

--
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: s...@denx.de


[RESEND PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-10-16 Thread Tony Dinh
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 
---

 configs/pogo_v4_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig
index cbbade3c0c..fd62146ed3 100644
--- a/configs/pogo_v4_defconfig
+++ b/configs/pogo_v4_defconfig
@@ -15,6 +15,7 @@ CONFIG_ENV_OFFSET=0xC
 CONFIG_DEFAULT_DEVICE_TREE="kirkwood-pogoplug-series-4"
 CONFIG_IDENT_STRING="\nPogoplug V4"
 CONFIG_SYS_LOAD_ADDR=0x80
+CONFIG_LTO=y
 CONFIG_PCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTSTAGE=y
-- 
2.39.2