public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig
Date: Thu, 27 Oct 2016 18:50:02 -0400	[thread overview]
Message-ID: <20161027225002.GK18591@bill-the-cat> (raw)
In-Reply-To: <20161027162556.11195-2-semen.protsenko@linaro.org>

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@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>

  reply	other threads:[~2016-10-27 22:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27 16:25 [U-Boot] [PATCH 0/3] spl: Convert MMC raw mode sector options to Kconfig Sam Protsenko
2016-10-27 16:25 ` [U-Boot] [PATCH 1/3] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR " Sam Protsenko
2016-10-27 22:50   ` Tom Rini [this message]
2016-10-27 16:25 ` [U-Boot] [PATCH 2/3] spl: Do not define U-Boot address on MMC if SPL is not defined Sam Protsenko
2016-10-27 22:50   ` Tom Rini
2016-10-27 16:25 ` [U-Boot] [PATCH 3/3] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS Sam Protsenko
2016-10-27 22:50   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161027225002.GK18591@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox