public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Soeren Moch <smoch@web.de>
To: Stefano Babic <sbabic@denx.de>
Cc: Soeren Moch <smoch@web.de>, Tom Rini <trini@konsulko.com>,
	Fabio Estevam <festevam@gmail.com>,
	Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de
Subject: [PATCH 1/2] board: tbs2910: Enable Link Time Optimizations in defconfig
Date: Mon, 14 Mar 2022 09:26:25 +0100	[thread overview]
Message-ID: <20220314082626.96395-1-smoch@web.de> (raw)

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(+)

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
--
2.25.1


             reply	other threads:[~2022-03-14  8:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14  8:26 Soeren Moch [this message]
2022-03-14  8:26 ` [PATCH 2/2] board: tbs2910: Convert to DM_SERIAL Soeren Moch
2022-03-14 18:24   ` Simon Glass
2022-03-14 18:28     ` Tom Rini
2022-03-14 19:22       ` Soeren Moch
2022-03-14 19:34         ` Tom Rini
2022-03-14 19:37         ` Simon Glass
2022-03-14 21:51           ` Sören Moch
2022-03-14 22:20             ` Simon Glass
2022-03-14 22:38               ` Tom Rini
2022-03-14 22:46                 ` Simon Glass
2022-03-14 23:16                 ` Fabio Estevam
2022-03-15 20:56                   ` Soeren Moch
2022-03-19 11:34                     ` Soeren Moch
2022-03-14 18:14 ` [PATCH 1/2] board: tbs2910: Enable Link Time Optimizations in defconfig Tom Rini
2022-03-14 18:24 ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220314082626.96395-1-smoch@web.de \
    --to=smoch@web.de \
    --cc=festevam@gmail.com \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox