Message ID | 20220314082626.96395-1-smoch@web.de |
---|---|
State | Accepted |
Commit | 3ec38c907ccb6cb2110b75f4c3dcd01021a98f6b |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/2] board: tbs2910: Enable Link Time Optimizations in defconfig | expand |
On Mon, Mar 14, 2022 at 09:26:25AM +0100, Soeren Moch wrote: > This saves about 12 kBytes image size and helps to stay within the > size limit. > > Suggested-by: Tom Rini <trini@konsulko.com> > Signed-off-by: Soeren Moch <smoch@web.de> Applied to u-boot/master, thanks!
On Mon, 14 Mar 2022 at 02:26, Soeren Moch <smoch@web.de> wrote: > > This saves about 12 kBytes image size and helps to stay within the > size limit. > > Suggested-by: Tom Rini <trini@konsulko.com> > Signed-off-by: Soeren Moch <smoch@web.de> > --- > Cc: Stefano Babic <sbabic@denx.de> > Cc: Fabio Estevam <festevam@gmail.com> > Cc: Simon Glass <sjg@chromium.org> > Cc: u-boot@lists.denx.de > > Unfortunately we already are at the size limit for U-Boot v2022.04-rc3. > Maybe Tom can pick up this patch directly, otherwise it's also fine for > me to take this through the imx tree. > --- > configs/tbs2910_defconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig index e1278f2e70..8a33160564 100644 --- a/configs/tbs2910_defconfig +++ b/configs/tbs2910_defconfig @@ -14,6 +14,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx6q-tbs2910" CONFIG_PRE_CON_BUF_ADDR=0x7c000000 CONFIG_CMD_HDMIDETECT=y CONFIG_AHCI=y +CONFIG_LTO=y CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOOTDELAY=3 CONFIG_USE_BOOTCOMMAND=y
This saves about 12 kBytes image size and helps to stay within the size limit. Suggested-by: Tom Rini <trini@konsulko.com> Signed-off-by: Soeren Moch <smoch@web.de> --- Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: u-boot@lists.denx.de Unfortunately we already are at the size limit for U-Boot v2022.04-rc3. Maybe Tom can pick up this patch directly, otherwise it's also fine for me to take this through the imx tree. --- configs/tbs2910_defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.25.1