From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN
Date: Mon, 28 Sep 2015 12:03:12 -0400 [thread overview]
Message-ID: <20150928160312.GL22966@bill-the-cat> (raw)
In-Reply-To: <CAD0U-hJX0EP2GXcCrJqCXsBZsZP=q30u0=cO3TUOcWDQ-pXEtw@mail.gmail.com>
On Mon, Sep 28, 2015 at 04:35:09PM +0100, Ryan Harkin wrote:
> Thanks Tom.
>
> On 28 September 2015 at 16:10, Tom Rini <trini@konsulko.com> wrote:
>
> > On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote:
> >
> > > As config migrates from board config files to Kconfig, when adding
> > > CONFIG_SYS_BOOTM_LEN to a platform, I decided to add
> > > Kconfig support for CONFIG_SYS_BOOTM_LEN.
> > >
> > > Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
> > > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> > > CC: Masahiro Yamada <yamada.m@jp.panasonic.com>
> > > CC: Simon Glass <sjg@chromium.org>
> > > CC: Linus Walleij <linus.walleij@linaro.org>
> >
> > Thanks for trying to do this. The problem however is that you need to
> > use tools/moveconfig.py so that all of the other boards (which is a lot)
> > get updated too, otherwise they fail to build.
> >
>
> Yes, I just read another email on the list about using moveconfig.py.
> That's a big job, as you say.
>
>
> > Since that's kind of a big thing, can you split this series into a v2 of
> > things which really should be in before the release, and then nice
> > cleanups like this which can go in once the merge window is open again?
>
> Thanks!
> >
>
> So I should post a v2 that uses CONFIG_SYS_BOOTM_LEN like all the other
> boards for now? Then submit a new series to use moveconfig.py to Kconfig?
Yeah, for this release at least.
> I already tried using moveconfig.py for this and it fails on every
> instance, from what I can tell. I think the other board configs using the
> shift operation makes this tricky.
>
> I guess there are two options: make Kconfig support complex values (eg. to
> allow << operators, etc.) or convert all the other boards to use absolute
> values. Of course, another option is to leave it alone.
Well, if you can convince the Kconfig folks to take shift operations as
valid values on numeric inputs I bet other projects would appreciate it.
But it might be easier to start with a "simple" script that finds all of
the configs that define it to a shifted value and use printf to convert
it to hex. Then moveconfig.py should be able to convert.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150928/bb3009c3/attachment.sig>
next prev parent reply other threads:[~2015-09-28 16:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 17:25 [U-Boot] [PATCH 00/11] vexpress64 FVP and Juno configuration updates Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 01/11] vexpress64: fix checkpatch warnings Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 02/11] vexpress64: Kconfig: tidy up Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN Ryan Harkin
2015-09-28 15:10 ` Tom Rini
2015-09-28 15:35 ` Ryan Harkin
2015-09-28 16:03 ` Tom Rini [this message]
2015-09-28 19:22 ` Hans de Goede
2015-09-28 21:12 ` Tom Rini
2015-09-29 8:38 ` Hans de Goede
2015-09-23 17:25 ` [U-Boot] [PATCH 04/11] vexpress64: " Ryan Harkin
2015-09-28 15:13 ` Tom Rini
2015-09-23 17:25 ` [U-Boot] [PATCH 05/11] vexpress64: fvp dram: add DRAM configuration Ryan Harkin
2015-09-28 15:14 ` Tom Rini
2015-09-28 15:27 ` Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 06/11] vexpress64: juno: add androidboot.hardware=juno Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 07/11] common/armflash: add command to check if image exists Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 08/11] common/armflash: load_image returns success or failure Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 09/11] vexpress64: juno: add optional initrd Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 10/11] vexpress64: juno: add alternate kernel and device tree filenames Ryan Harkin
2015-09-23 17:25 ` [U-Boot] [PATCH 11/11] vexpress64: juno: use /dev/sda2 Ryan Harkin
2015-09-23 17:35 ` [U-Boot] [PATCH 00/11] vexpress64 FVP and Juno configuration updates Ryan Harkin
2015-09-24 16:33 ` Linus Walleij
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=20150928160312.GL22966@bill-the-cat \
--to=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