From: Fabien Parent <fparent@baylibre.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot
Date: Tue, 22 Nov 2016 18:13:33 +0100 [thread overview]
Message-ID: <20161122171333.30192-5-fparent@baylibre.com> (raw)
In-Reply-To: <20161122171333.30192-1-fparent@baylibre.com>
Set the correct CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in order
to be able to boot from MMC/SD.
The SPL is stored at sector 0x75, while u-boot will follow at
sector 0xb5.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
v1 -> v2
* Rebased on Sam's patches, i.e. use new Kconfig option instead of setting
the value inside the config header file
---
configs/omapl138_lcdk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index bcd1acb..4a5f435 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -9,6 +9,7 @@ CONFIG_VERSION_VARIABLE=y
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_SPL=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot > "
# CONFIG_CMD_IMLS is not set
--
2.10.2
next prev parent reply other threads:[~2016-11-22 17:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-22 17:13 [U-Boot] [PATCH v2 0/4] davinci: omapl138_lcdk: fix a few bugs for SPL boot Fabien Parent
2016-11-22 17:13 ` [U-Boot] [PATCH v2 1/4] davinci: omapl138_lcdk: configure pll0 Fabien Parent
2016-11-22 18:03 ` Tom Rini
2016-11-22 17:13 ` [U-Boot] [PATCH v2 2/4] davinci: omapl138_lcdk: configure ddr2 Fabien Parent
2016-11-22 18:10 ` Tom Rini
2016-11-28 13:38 ` Fabien Parent
2016-11-28 15:05 ` Tom Rini
2016-11-22 17:13 ` [U-Boot] [PATCH v2 3/4] davinci: da850evm: fix empty boot method list in the SPL Fabien Parent
2016-11-22 17:13 ` Fabien Parent [this message]
2016-11-22 18:13 ` [U-Boot] [PATCH v2 4/4] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot 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=20161122171333.30192-5-fparent@baylibre.com \
--to=fparent@baylibre.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