From: "Heiko Stübner" <heiko@sntech.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] Patches to reduce TPL code size
Date: Tue, 04 Apr 2017 11:34:52 +0200 [thread overview]
Message-ID: <1955498.OWTG1DWZFn@diego> (raw)
In-Reply-To: <20170402155032.27473-1-sjg@chromium.org>
Am Sonntag, 2. April 2017, 09:50:27 CEST schrieb Simon Glass:
> With the rockchip 'rock' board some build and code size problems have come
> to light with TPL. This series provides a few ideas to improve things.
great stuff!
With these patches applied, rk3188-rock still boots and the TPL has
come down to 616byte on gcc-4.9 and 592bytes on gcc-6.3, so
Tested-by: Heiko Stuebner <heiko@sntech.de>
We have like vast amounts of free space in tpl now ;-)
I guess I should fold your TINY_MEMSET option into my rock board,
once you've applied the core patch?
Heiko
>
> Changes in v2:
> - Adjust the option to be SPL-only
> - Change the option to default to off (name it CONFIG_SPL_TINY_MEMSET)
> - Add a new patch to enable CONFIG_SPL_TINY_MEMSET
> - Add new patch to allow driver model to be disabled for TPL
> - Add new patch to allow driver-model serial to be disabled for TPL
>
> Simon Glass (5):
> string: Provide a slimmed-down memset()
> rockchip: rock: Enable CONFIG_SPL_TINY_MEMSET
> Makefile: Provide an option to select SPL or TPL
> dm: core: Allow driver model to be disabled for TPL
> dm: serial: Allow driver-model serial to be disabled for TPL
>
> configs/rock_defconfig | 1 +
> drivers/Makefile | 2 +-
> drivers/core/Kconfig | 14 ++++++++++++++
> drivers/serial/Kconfig | 20 ++++++++++++++++++++
> drivers/serial/Makefile | 2 +-
> lib/Kconfig | 8 ++++++++
> lib/string.c | 6 ++++--
> scripts/Kbuild.include | 6 ++++++
> scripts/Makefile.spl | 6 ++++++
> 9 files changed, 61 insertions(+), 4 deletions(-)
next prev parent reply other threads:[~2017-04-04 9:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 15:50 [U-Boot] [PATCH v2 0/5] Patches to reduce TPL code size Simon Glass
2017-04-02 15:50 ` [U-Boot] [PATCH v2 1/5] string: Provide a slimmed-down memset() Simon Glass
2017-04-04 9:38 ` Heiko Stübner
2017-04-05 1:05 ` Simon Glass
2017-04-02 15:50 ` [U-Boot] [PATCH v2 2/5] rockchip: rock: Enable CONFIG_SPL_TINY_MEMSET Simon Glass
2017-04-02 15:50 ` [U-Boot] [PATCH v2 3/5] Makefile: Provide an option to select SPL or TPL Simon Glass
2017-04-06 16:26 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-04-02 15:50 ` [U-Boot] [PATCH v2 4/5] dm: core: Allow driver model to be disabled for TPL Simon Glass
2017-04-06 16:26 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-04-02 15:50 ` [U-Boot] [PATCH v2 5/5] dm: serial: Allow driver-model serial " Simon Glass
2017-04-06 16:26 ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-04-04 9:34 ` Heiko Stübner [this message]
2017-04-04 10:43 ` [U-Boot] [PATCH v2 0/5] Patches to reduce TPL code size Heiko Stuebner
2017-04-09 19:27 ` 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=1955498.OWTG1DWZFn@diego \
--to=heiko@sntech.de \
--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