U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] arm: am57xx: cl-som-am57x: add MMC as a boot devices for spl
Date: Thu, 1 Dec 2016 10:37:17 -0500	[thread overview]
Message-ID: <20161201153717.GZ2546@bill-the-cat> (raw)
In-Reply-To: <1480580896-23232-3-git-send-email-uri.mashiach@compulab.co.il>

On Thu, Dec 01, 2016 at 10:28:13AM +0200, Uri Mashiach wrote:

> From: Dmitry Lifshitz <lifshitz@compulab.co.il>
> 
> Use spl alternate boot device feature to define fallback to
> the main boot device as it is defined by hardware.
> 
> Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
> Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
>  include/configs/cl-som-am57x.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
> index 1be55e5..dfceebb 100644
> --- a/include/configs/cl-som-am57x.h
> +++ b/include/configs/cl-som-am57x.h
> @@ -53,6 +53,16 @@
>  #define CONFIG_SPL_SPI_FLASH_SUPPORT
>  #define CONFIG_SPL_SPI_LOAD
>  
> +/* SD/MMC RAW boot */
> +#undef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
> +#undef CONFIG_SYS_MMCSD_FS_BOOT_PARTITION
> +#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
> +#undef CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
> +
> +/* Offsets: 128K - SPL1, 256K - SPL2, 384K - U-Boot */
> +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /*  0x60000 - 384K */
> +#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS      0x400 /* 512 K */
> +
>  /* Environment */
>  #define CONFIG_ENV_SIZE			(16 << 10) /* 16 KiB env size */
>  #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG

This has migrated to Kconfig recently, please re-work.

-- 
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/20161201/e725d8ae/attachment.sig>

  reply	other threads:[~2016-12-01 15:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01  8:28 [U-Boot] [PATCH 0/5] cl-som-am57x: initial support Uri Mashiach
2016-12-01  8:28 ` [U-Boot] [PATCH 1/5] arm: am57xx: cl-som-am57x: add initial board support Uri Mashiach
2016-12-01 15:36   ` Tom Rini
2016-12-04  7:58     ` Uri Mashiach
2016-12-04 14:26       ` Tom Rini
2016-12-01  8:28 ` [U-Boot] [PATCH 2/5] arm: am57xx: cl-som-am57x: add MMC as a boot devices for spl Uri Mashiach
2016-12-01 15:37   ` Tom Rini [this message]
2016-12-01  8:28 ` [U-Boot] [PATCH 3/5] arm: am57xx: cl-som-am57x: fetch board rev from EEPROM Uri Mashiach
2016-12-01 15:37   ` Tom Rini
2016-12-01  8:28 ` [U-Boot] [PATCH 4/5] arm: am57xx: cl-som-am57x: add ETH support Uri Mashiach
2016-12-01 15:38   ` Tom Rini
2016-12-01  8:28 ` [U-Boot] [PATCH 5/5] arm: am57xx: cl-som-am57x: update default env Uri Mashiach
2016-12-01 15:39   ` 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=20161201153717.GZ2546@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