From: Tom Rini Date: Tue, 10 Oct 2017 20:12:18 -0400 Subject: [U-Boot] [PATCH 1/2] cmd: Toggle the default value of CONFIG_CMD_IMLS In-Reply-To: <20171008184802.12826-1-tuomas.tynkkynen@iki.fi> References: <20171008184802.12826-1-tuomas.tynkkynen@iki.fi> Message-ID: <20171011001218.GJ12015@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 Sun, Oct 08, 2017 at 09:48:01PM +0300, Tuomas Tynkkynen wrote: > Having this as a 'default y' is rather annoying because it doesn't > actually compile unless other options are defined in the board header: > > ../cmd/bootm.c: In function 'do_imls_nor': > ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'? > i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) { > > Make it 'default n' so people who develop new boards that start from a > blank defconfig have one less compilation failure to debug. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: