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

Tom Rini trini at konsulko.com
Thu Nov 3 16:57:37 CET 2016


On Thu, Nov 03, 2016 at 03:49:52PM +0200, Sam Protsenko wrote:

> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> ---
> Changes in v4:
>   - remove TARGET_* from Kconfig default section
[snip]
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index bb99f1f..a67ad0d 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -70,6 +70,30 @@ config SPL_DISPLAY_PRINT
>  	  banner ("U-Boot SPL ..."). This function should be provided by
>  	  the board.
>  
> +config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
> +	bool "MMC raw mode: by sector"
> +	depends on SPL
> +	default n
> +	help
> +	  Use sector number for specifying U-Boot location on MMC/SD in
> +	  raw mode.

You forgot about removing 'default n' (that is the default) and adding
default y if cases.

-- 
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/20161103/b41fe769/attachment.sig>


More information about the U-Boot mailing list