[U-Boot] [PATCH 1/1] common: Move CONFIG_BOOTARGS to Kconfig
Tom Rini
trini at konsulko.com
Tue Jul 18 19:43:45 UTC 2017
On Mon, Jul 17, 2017 at 04:44:55PM +0300, Sam Protsenko wrote:
> Also introduce CONFIG_USE_BOOTARGS option so we can control if
> CONFIG_BOOTARGS defined at all.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
[snip]
> +config USE_BOOTARGS
> + bool "Enable boot arguments"
> + default n
n is default, we don't need this.
[snip]
> diff --git a/configs/P1020MBG-PC_36BIT_SDCARD_defconfig b/configs/P1020MBG-PC_36BIT_SDCARD_defconfig
> index e297a0da5b..88a795b42e 100644
> --- a/configs/P1020MBG-PC_36BIT_SDCARD_defconfig
> +++ b/configs/P1020MBG-PC_36BIT_SDCARD_defconfig
> @@ -13,6 +13,7 @@ CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_SYS_EXTRA_OPTIONS="SDCARD"
> CONFIG_BOOTDELAY=10
> +CONFIG_USE_BOOTARGS=y
> CONFIG_BOARD_EARLY_INIT_F=y
> CONFIG_SPL=y
> CONFIG_SPL_ENV_SUPPORT=y
This is the first of a number of examples where USE_BOOTARGS is set to y
but there's no BOOTARGS set. That doesn't make sense. Looking at it a
bit more in detail, the conversion didn't happen right in cases where we
have:
#define CONFIG_BOOTARGS SOME_OTHER_DEFINE.
That may become tricky. I'm going to post a horrible hack to help,
shortly.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170718/3308552d/attachment.sig>
More information about the U-Boot
mailing list