From: Paul Kocialkowski <contact@paulk.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] panda: Initialize MMC power from TWL6030 in SPL
Date: Wed, 24 Aug 2016 16:40:42 +0200 [thread overview]
Message-ID: <20160824144042.29354-2-contact@paulk.fr> (raw)
In-Reply-To: <20160824144042.29354-1-contact@paulk.fr>
This adds support for initializing MMC power from TWL6030 in SPL, which
is required when the bootrom didn't power the MMC device yet and U-Boot
is to be loaded from MMC (e.g. after setting boot mode from the SYS_BOOT
pins in peripheral boot).
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
board/ti/panda/panda.c | 2 +-
include/configs/omap4_panda.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 13b5daf..ebab4e7 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -292,12 +292,12 @@ int board_mmc_init(bd_t *bis)
{
return omap_mmc_init(0, 0, 0, -1, -1);
}
+#endif
void board_mmc_power_init(void)
{
twl6030_power_mmc_init(0);
}
-#endif
#ifdef CONFIG_USB_EHCI
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index ffa22c3..af9ff08 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -33,6 +33,9 @@
#include <configs/ti_omap4_common.h>
+/* MMCSD FS mode is preferred */
+#undef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
+
/* GPIO */
/* ENV related config options */
--
2.9.3
next prev parent reply other threads:[~2016-08-24 14:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 14:40 [U-Boot] [PATCH 1/2] configs: ti_omap4_common: Include TWL6030 power and I2C support in SPL Paul Kocialkowski
2016-08-24 14:40 ` Paul Kocialkowski [this message]
2016-08-24 15:24 ` [U-Boot] [PATCH 2/2] panda: Initialize MMC power from TWL6030 " Tom Rini
2016-08-24 17:57 ` Paul Kocialkowski
2016-08-24 15:22 ` [U-Boot] [PATCH 1/2] configs: ti_omap4_common: Include TWL6030 power and I2C support " 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=20160824144042.29354-2-contact@paulk.fr \
--to=contact@paulk.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.