[U-Boot] [PATCH 1/3] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

Tom Rini trini at konsulko.com
Fri Oct 28 00:50:02 CEST 2016


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 <semen.protsenko at linaro.org>
[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: <http://lists.denx.de/pipermail/u-boot/attachments/20161027/6fe975c6/attachment.sig>


More information about the U-Boot mailing list