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

Stefan Roese sr at denx.de
Tue Aug 29 10:41:58 CEST 2023


On 8/24/23 21:07, Tony Dinh wrote:
> Enable building Pogo V4 u-boot image with LTO, which results in about 30K
> reduction in size.
> 
> Signed-off-by: Tony Dinh <mibodhi at gmail.com>

Reviewed-by: Stefan Roese <sr at denx.de>

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 3e3e811543..ad36da712b 100644
> --- a/configs/pogo_v4_defconfig
> +++ b/configs/pogo_v4_defconfig
> @@ -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

-- 
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: sr at denx.de


More information about the U-Boot mailing list