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 <[email protected]>
[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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to