From: DrEagle <dreagle@doukki.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/8] arm kirkwood add MVSDIO sheevaplug support
Date: Mon, 08 Jul 2013 01:47:49 +0200 [thread overview]
Message-ID: <51D9FE25.2050101@doukki.net> (raw)
In-Reply-To: <20130705230848.457e1e24@lilith>
- add sheevaplug MVSDIO driver support
Signed-off-by: drEagle <uboot@doukki.net>
board/Marvell/sheevaplug/sheevaplug.c |
include/configs/sheevaplug.h |
diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c
index 16efe64..2bd2568 100644
--- a/board/Marvell/sheevaplug/sheevaplug.c
+++ b/board/Marvell/sheevaplug/sheevaplug.c
@@ -28,6 +28,9 @@
#include <asm/arch/kirkwood.h>
#include <asm/arch/mpp.h>
#include "sheevaplug.h"
+#ifdef CONFIG_MRVL_MMC
+#include <mrvl_mmc.h>
+#endif /* CONFIG_MRVL_MMC */
DECLARE_GLOBAL_DATA_PTR;
@@ -147,3 +150,11 @@ void reset_phy(void)
printf("88E1116 Initialized on %s\n", name);
}
#endif /* CONFIG_RESET_PHY_R */
+
+#ifdef CONFIG_MRVL_MMC
+int board_mmc_init(bd_t *bis)
+{
+ mrvl_mmc_initialize(bis);
+ return 0;
+}
+#endif /* CONFIG_MRVL_MMC */
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 83dd8ff..270fd56 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -39,17 +40,24 @@
/*
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#include <config_cmd_default.h>
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_ENV
#define CONFIG_CMD_MII
+#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PING
#define CONFIG_CMD_USB
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros
@@ -98,17 +138,20 @@
#endif /* CONFIG_CMD_NET */
/*
* File system
*/
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
#define CONFIG_CMD_MTDPARTS
#define CONFIG_LZO
+/*
+ * SDIO/MMC Card Configuration
+ */
+#ifdef CONFIG_CMD_MMC
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_MRVL_MMC
+#define CONFIG_SYS_MMC_BASE KW_SDIO_BASE
+#endif /* CONFIG_CMD_MMC */
#endif /* _CONFIG_SHEEVAPLUG_H */
next prev parent reply other threads:[~2013-07-07 23:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-02 21:17 [U-Boot] Marvell SheevaPlug v2013.04 Refresh (ask for review) DrEagle
2013-07-05 21:08 ` Albert ARIBAUD
2013-07-07 23:41 ` DrEagle
2013-07-08 9:46 ` Albert ARIBAUD
2013-07-07 23:43 ` [U-Boot] [PATCH 0/8] arm kirkwood - sheevaplug refresh DrEagle
2013-07-07 23:44 ` [U-Boot] [PATCH 1/8] arm kirkwood - add kirkwood_id DrEagle
2013-07-07 23:44 ` [U-Boot] [PATCH 2/8] arm kirkwood update supported devices and revisions DrEagle
2013-07-07 23:45 ` [U-Boot] [PATCH 3/8] arm kirkwood add kw88f6282 support DrEagle
2013-07-07 23:46 ` [U-Boot] [PATCH 4/8] arm kirkwood add MVSDIO driver v3 DrEagle
2013-07-07 23:47 ` [U-Boot] [PATCH 5/8] arm kirkwood add MVSDIO kirkwood support DrEagle
2013-07-07 23:47 ` DrEagle [this message]
2013-07-07 23:48 ` [U-Boot] [PATCH 7/8] arm kirkwood add MVSATA sheevaplug support DrEagle
2013-07-07 23:49 ` [U-Boot] [PATCH 8/8] arm kirkwood update sheevaplug defaults config DrEagle
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=51D9FE25.2050101@doukki.net \
--to=dreagle@doukki.net \
--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.