From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 27 Oct 2016 18:50:02 -0400 Subject: [U-Boot] [PATCH 1/3] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig In-Reply-To: <20161027162556.11195-2-semen.protsenko@linaro.org> References: <20161027162556.11195-1-semen.protsenko@linaro.org> <20161027162556.11195-2-semen.protsenko@linaro.org> Message-ID: <20161027225002.GK18591@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 Thu, Oct 27, 2016 at 07:25:54PM +0300, Sam Protsenko wrote: > For now this option doesn't depend on CONFIG_SPL, so that all boards > build the same way as before, and we can test with buildman that nothing > was broken. In next commits we can add such a dependency for this option > to Kconfig. > > Signed-off-by: Sam Protsenko [snip] > 350 files changed, 544 insertions(+), 54 deletions(-) [snip] > +config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR > + bool "MMC raw mode: by sector" > + default n > + help > + Use sector number for specifying U-Boot location on MMC/SD in > + raw mode. We need to have this be 'default y if ...' and cover a few cases so we aren't touching so many defconfig files. > +config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR > + hex "Address on the MMC to load U-Boot from" > + depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR > + default 0x300 This isn't right either exactly. We want: default 0x300 if ... default 0x50 if ARCH_SUNXI || ... and so forth. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: