From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 7/7] Move defaults from config_cmd_default.h to Kconfig
Date: Thu, 25 Jun 2015 12:15:47 -0400 [thread overview]
Message-ID: <20150625161547.GD28577@bill-the-cat> (raw)
In-Reply-To: <CANr=Z=Y5U4HaphJgQefPz+nRQ1cY-C=xQrbwyKibB=ZpVY69Uw@mail.gmail.com>
On Tue, Jun 23, 2015 at 10:36:20PM -0500, Joe Hershberger wrote:
> Hi Tom,
>
> On Tue, Jun 23, 2015 at 9:33 AM, Tom Rini <trini@konsulko.com> wrote:
> > On Mon, Jun 22, 2015 at 04:15:30PM -0500, Joe Hershberger wrote:
> >
> >> This sets the default commands Kconfig to match
> >> include/config_cmd_default.h commands in the common/Kconfig and removes
> >> them from include/configs.
> > [snip]
> >> diff --git a/common/Kconfig b/common/Kconfig
> >> index cb14592..2976cd7 100644
> >> --- a/common/Kconfig
> >> +++ b/common/Kconfig
> > [snip]
> >> config CMD_IMLS
> >> bool "imls"
> >> + default y
> >> help
> >> List all images found in flash
> > [snip]
> >>
> >> config CMD_FLASH
> >> bool "flinfo, erase, protect"
> >> + default y
> >> help
> >> NOR flash support.
> >> flinfo - print FLASH memory information
> >
> > Today we only set these when !SYS_NO_FLASH so we need to Kconfig that
> > first.
>
> While that's true, the moveconfig tool will de-select that option
> based on SYS_NO_FLASH having been set for that board. While that may
> not be ideal as far as reacting to an end-user changing that default
> setting for a given board, the defconfig itself should be consistent
> with the former default behavior. Also, once SYS_NO_FLASH is moved,
> such defconfig entries will be removed automatically by savedefconfig.
> I was trying to limit the number of changes included in this already
> sizable undertaking.
>
> If you feel it's important to include moving this change at the same
> time, then I can add a patch at the end of the series to include this
> move.
>
> >> @@ -352,6 +371,7 @@ menu "Network commands"
> >> config CMD_NET
> >> bool "bootp, tftpboot"
> >> select NET
> >> + default y
> >> help
> >> Network commands.
> >> bootp - boot image via network using BOOTP/TFTP protocol
> >> @@ -379,6 +399,7 @@ config CMD_DHCP
> >>
> >> config CMD_NFS
> >> bool "nfs"
> >> + default y
> >> help
> >> Boot image via network using NFS protocol.
> >
> > I think we now have the smarts available to us to do this only if we
> > have NET set, so "depends NET", yes?
>
> Sure. It could also be a follow-on, though, right? I'm just a bit
> hesitant to redo all of this, since it really takes a long time to
> validate (and still may not be perfect).
Sorry for the delay. Yeah, OK, we can do these as follow-ups but lets
not wait too long.
--
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/20150625/2a3837a6/attachment.sig>
next prev parent reply other threads:[~2015-06-25 16:15 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-03 18:12 [U-Boot] [PATCH] sunxi: Select CONFIG_CMD_NET and CONFIG_CMD_SETEXPR by default Hans de Goede
2015-06-03 19:09 ` Ian Campbell
2015-06-03 22:12 ` Tom Rini
2015-06-03 22:21 ` Joe Hershberger
2015-06-03 22:26 ` Tom Rini
2015-06-03 22:55 ` Joe Hershberger
2015-06-04 10:18 ` Hans de Goede
2015-06-04 17:29 ` Masahiro Yamada
2015-06-04 17:54 ` Joe Hershberger
2015-06-05 4:02 ` Masahiro Yamada
2015-06-05 16:25 ` Tom Rini
2015-06-10 14:09 ` Joe Hershberger
2015-06-10 14:05 ` Joe Hershberger
2015-06-11 14:14 ` Joe Hershberger
2015-06-11 15:12 ` Tom Rini
2015-06-11 16:12 ` Joe Hershberger
2015-06-12 7:35 ` Hans de Goede
2015-06-12 12:08 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 0/7] Move include/config_cmd_default.h into Kconfig / remove arch defaults Joe Hershberger
2015-06-22 21:15 ` [U-Boot] [PATCH 1/7] mtd: spi: Add the SPI_FLASH config to Kconfig Joe Hershberger
2015-06-26 21:04 ` Tom Rini
2015-06-26 21:16 ` Jagan Teki
2015-06-22 21:15 ` [U-Boot] [PATCH 2/7] common: Fix comment for saveenv in Kconfig Joe Hershberger
2015-06-26 21:04 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 3/7] common: Add the CMD_ENV_EXISTS config to Kconfig Joe Hershberger
2015-06-26 21:05 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 4/7] arm: Make new baltos board not break on savedefconfig Joe Hershberger
2015-06-23 14:23 ` Tom Rini
2015-06-24 3:26 ` Joe Hershberger
2015-06-24 6:55 ` Yegor Yefremov
2015-06-24 7:33 ` Yegor Yefremov
2015-06-25 15:42 ` Joe Hershberger
2015-06-25 20:32 ` Yegor Yefremov
2015-06-25 15:48 ` Joe Hershberger
2015-06-25 16:17 ` Tom Rini
2015-06-26 21:05 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 5/7] a3m071: Add needed dependency on LIB_RAND Joe Hershberger
2015-06-26 21:05 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 6/7] Move default y configs out of arch/board Kconfig Joe Hershberger
2015-06-26 21:05 ` Tom Rini
2015-06-22 21:15 ` [U-Boot] [PATCH 7/7] Move defaults from config_cmd_default.h to Kconfig Joe Hershberger
2015-06-23 14:33 ` Tom Rini
2015-06-24 3:36 ` Joe Hershberger
2015-06-25 15:50 ` Joe Hershberger
2015-06-25 16:15 ` Tom Rini [this message]
2015-06-25 16:19 ` Joe Hershberger
2015-06-26 21:05 ` Tom Rini
2015-06-22 21:34 ` [U-Boot] [PATCH] sunxi: Select CONFIG_CMD_NET and CONFIG_CMD_SETEXPR by default Joe Hershberger
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=20150625161547.GD28577@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