From: "Gérald Kerma" <geraker@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 1/3] Kirkwood: pre-requisite for SDIO driver support
Date: Sun, 21 Nov 2010 12:06:59 +0100 [thread overview]
Message-ID: <4CE8FD53.5010705@gmail.com> (raw)
In-Reply-To: <4CE8FD0D.3020405@gmail.com>
pre-requisite for SDIO driver support for Marvell SoCs (Kirkwood)
Signed-off-by: G?rald Kerma <geraker@gmail.com>
---
arch/arm/include/asm/arch-kirkwood/kirkwood.h | 1 +
include/configs/mv-common.h | 9 +++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-kirkwood/kirkwood.h
b/arch/arm/include/asm/arch-kirkwood/kirkwood.h
index 0104418..4f9fe7e 100644
--- a/arch/arm/include/asm/arch-kirkwood/kirkwood.h
+++ b/arch/arm/include/asm/arch-kirkwood/kirkwood.h
@@ -60,6 +60,7 @@
#define KW_EGIGA0_BASE (KW_REGISTER(0x72000))
#define KW_EGIGA1_BASE (KW_REGISTER(0x76000))
#define KW_SATA_BASE (KW_REGISTER(0x80000))
+#define KW_SDIO_BASE (KW_REGISTER(0x90000))
/* Kirkwood Sata controller has two ports */
#define KW_SATA_PORT0_OFFSET 0x2000
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index de0121e..62ef0b9 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
@@ -63,6 +63,7 @@
#define CONFIG_I2C_MVTWSI_BASE KW_TWSI_BASE
#define MV_UART0_BASE KW_UART0_BASE
+#define MV_SDIO_BASE KW_SDIO_BASE
#define MV_SATA_BASE KW_SATA_BASE
#define MV_SATA_PORT0_OFFSET KW_SATA_PORT0_OFFSET
#define MV_SATA_PORT1_OFFSET KW_SATA_PORT1_OFFSET
@@ -182,6 +183,14 @@
#endif /* CONFIG_CMD_NET */
/*
+ * SDIO/MMC Card Configuration
+ */
+#ifdef CONFIG_CMD_MMC
+#define CONFIG_MMC
+#define CONFIG_MV_SDIO
+#endif /* CONFIG_CMD_MMC */
+
+/*
* USB/EHCI
*/
#ifdef CONFIG_CMD_USB
--
1.7.1
--
G.K
next prev parent reply other threads:[~2010-11-21 11:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-28 22:37 [U-Boot] [PATCH v1] add mv_sdio driver for sheevaplug Gérald Kerma
2010-11-18 1:00 ` Clint Adams
2010-11-18 3:32 ` Prafulla Wadaskar
2010-11-20 11:42 ` Gérald Kerma
2010-11-18 4:04 ` Prafulla Wadaskar
2010-11-19 16:10 ` [U-Boot] [PATCH v2 1/2] mmc : Add SDIO driver for Marvell SoCs (Kirkwood) Gérald Kerma
2010-11-20 21:33 ` Prafulla Wadaskar
2010-11-21 11:05 ` [U-Boot] [PATCH v3 0/3] Add SD/MMC Support to Sheevaplug Gérald Kerma
2010-11-21 11:06 ` Gérald Kerma [this message]
2010-11-21 15:36 ` [U-Boot] [PATCH v3 1/3] Kirkwood: pre-requisite for SDIO driver support Prafulla Wadaskar
2010-11-21 11:07 ` [U-Boot] [PATCH v3 2/3] mmc : Add SDIO driver for Marvell SoCs (Kirkwood) Gérald Kerma
2010-11-21 15:31 ` Prafulla Wadaskar
2010-11-21 11:08 ` [U-Boot] [PATCH v3 3/3] Sheevaplug: Add MMC/SDIO support Gérald Kerma
2010-11-19 16:11 ` [U-Boot] [PATCH v2 2/2] " Gérald Kerma
2010-11-19 16:55 ` [U-Boot] [PATCH v2 1/1] Sheevaplug: Add mvsata support Gérald Kerma
2010-11-19 16:56 ` [U-Boot] [PATCH v2 1/1] Sheevaplug: Fix environments for booting retail system Gérald Kerma
2010-11-20 21:32 ` Prafulla Wadaskar
2010-11-20 21:33 ` [U-Boot] [PATCH v2 1/1] Sheevaplug: Add mvsata support Prafulla Wadaskar
2010-11-20 15:17 ` [U-Boot] [PATCH v2 2/2] Sheevaplug: Add MMC/SDIO support Ludovic Courtès
2010-11-20 21:42 ` Prafulla Wadaskar
2010-11-20 21:33 ` Prafulla Wadaskar
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=4CE8FD53.5010705@gmail.com \
--to=geraker@gmail.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