public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: sjg@chromium.org, alex.nemirovsky@cortina-access.com,
	xypron.glpk@gmx.de, u-boot@lists.denx.de
Subject: Re: [RFC] disk: don't compile in partition support for spl/tpl if not really necessary
Date: Fri, 15 Apr 2022 23:01:48 -0400	[thread overview]
Message-ID: <20220416030148.GH14282@bill-the-cat> (raw)
In-Reply-To: <20220415071156.122261-1-takahiro.akashi@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

On Fri, Apr 15, 2022 at 04:11:56PM +0900, AKASHI Takahiro wrote:
> We see some increase of spl code size due to partition support (disk/*)
> while none of particular partition types (CONFIG_SPL_XXX_PARTITION) are
> enabled.
> With this patch applied, part.c is no longer included unless really
> necessary.
> 
> In addition, fix errors in CI build revealed after this change is made.
> 
> Fixes: commit 88ca8e26958b ("disk: Add an option for partitions in SPL")
> Fixes: commit 17f8cda505e3 ("efi_loader: set partition GUID in device path
> 	for SIG_TYPE_GUID")
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> ---
>  cmd/Kconfig                                  |  1 +
>  configs/cortina_presidio-asic-emmc_defconfig |  1 -

So, the defconfig change here is wrong, CMD_PART isn't being implied
otherwise, and this board is part of a number of boards that had
EFI_LOADER before, but not DOS_PARTITION, and so do grow, but in a
valid/expected way.  There are also a number of boards that don't have
any partition type support set, but that too I think ends up being
correct.  The whole before/after is at
https://gist.github.com/trini/731ee8d50a9bc96b90e12860f8c53f14

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  parent reply	other threads:[~2022-04-16  3:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-15  7:11 [RFC] disk: don't compile in partition support for spl/tpl if not really necessary AKASHI Takahiro
2022-04-15  8:21 ` Heinrich Schuchardt
2022-04-15 12:32   ` Tom Rini
2022-04-18  8:06   ` AKASHI Takahiro
2022-04-15 12:33 ` Tom Rini
2022-04-16  3:01 ` Tom Rini [this message]
2022-04-18  8:14   ` AKASHI Takahiro

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=20220416030148.GH14282@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=alex.nemirovsky@cortina-access.com \
    --cc=sjg@chromium.org \
    --cc=takahiro.akashi@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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