From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size
Date: Wed, 3 May 2017 22:53:46 +0200 [thread overview]
Message-ID: <20170503225346.259996e5@jawa> (raw)
In-Reply-To: <6C6B28D4DC342643927BEAFCE8707BF6C0B7636A@DBDE04.ent.ti.com>
On Wed, 3 May 2017 12:45:10 +0000
"B, Ravi" <ravibabu@ti.com> wrote:
> Hi Tom
>
> >>
> >> >>OK. I think we need to introduce SPL_DFU_xxx Kconfig options,
> >> >>and use
> >> >>CONFIG_IS_ENABLED(DFU_xxx) so that we will get things
> >> >>enabled/disabled (and discarded) as needed.
> >>
> >> >Ok, will do.
> >>
> >> Correct me if I am wrong, I need understand if we introduce say
> >> SPL_DFU_MMC Kconfig options, then whether need to support DFU_MMC
> >> in SPL ?
> >> Again this will increase the SPL-size, and also DFU_MMC uses
> >> run_command() again, there is dependency of cli.c, hush etc.
>
> >SPL_DFU_MMC will only increase the size of SPL if it's enabled.
> >Being able to switch to testing with CONFIG_IS_ENABLED(DFU_xxx)
> >means that we'll be able to keep the space savings while also not
> >making various parts of the code harder to read with more #ifdef
> >tests.
>
> Ok, since SPL_DFU_MMC will be added in Kconfig, if SPL_DFU_MMC is
> selected it will increase the SPL size, it means SPL_DFU_MMC
> dependency code shall be included (like cli,c, hush etc). When
> SPL_DFU_MMC is not selected then automatically SPL size will be
> reduced.
My impression here is that CONFIG_IS_ENABLED() will help us to make the
code looking better and document changes by Kconfig variables.
And to be honest - I do not feel like adding hush to SPL is a good
conceptual solution.
>
> Thanks.
>
> Regards
> Ravi
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
next prev parent reply other threads:[~2017-05-03 20:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-26 13:14 [U-Boot] [PATCH 0/3] spl: dfu: misc fixes and reduce MLO foot print Ravi Babu
2017-04-26 13:14 ` [U-Boot] [PATCH 1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT Ravi Babu
2017-04-26 13:36 ` Tom Rini
2017-04-26 13:14 ` [U-Boot] [PATCH 2/3] common: dfu: ignore reset for spl-dfu Ravi Babu
2017-04-26 13:40 ` Tom Rini
2017-04-26 15:58 ` B, Ravi
2017-04-26 16:24 ` Tom Rini
2017-04-26 16:25 ` B, Ravi
2017-04-27 8:06 ` Lukasz Majewski
2017-04-27 8:37 ` B, Ravi
2017-04-27 8:37 ` B, Ravi
2017-04-26 13:14 ` [U-Boot] [PATCH 3/3] spl: dfu: reduce spl-dfu MLO size Ravi Babu
2017-04-26 13:35 ` Tom Rini
2017-04-27 7:22 ` B, Ravi
2017-04-27 12:31 ` Tom Rini
2017-04-27 17:25 ` B, Ravi
2017-05-03 8:36 ` B, Ravi
2017-05-03 12:42 ` Tom Rini
2017-05-03 12:45 ` B, Ravi
2017-05-03 20:53 ` Lukasz Majewski [this message]
2017-05-03 20:48 ` Lukasz Majewski
[not found] <1493212325-31879-1-git-send-email-ravibabu@ti.com>
[not found] ` <1493212325-31879-4-git-send-email-ravibabu@ti.com>
[not found] ` <20170427095808.4a87f63c@jawa>
2017-04-27 11:21 ` B, Ravi
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=20170503225346.259996e5@jawa \
--to=lukma@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.