From: Tom Rini Date: Tue, 18 Jul 2017 15:43:45 -0400 Subject: [U-Boot] [PATCH 1/1] common: Move CONFIG_BOOTARGS to Kconfig In-Reply-To: <20170717134455.6131-1-semen.protsenko@linaro.org> References: <20170717134455.6131-1-semen.protsenko@linaro.org> Message-ID: <20170718194345.GZ14320@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [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: