summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm2835/core.c
diff options
context:
space:
mode:
authorwilhelm <wilhelm.lundgren@gmail.com>2013-05-10 08:00:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-30 12:18:27 +0200
commit2821446cbeb840e3dc20b4999b107705bdc3f47a (patch)
tree45a075c2ae733ada53c567e7fdd87cd6eefb5515 /arch/arm/mach-bcm2835/core.c
parentbd1bf53b34c62fa69ae5922a660643c6e5febf06 (diff)
downloadbarebox-2821446cbeb840e3dc20b4999b107705bdc3f47a.tar.gz
barebox-2821446cbeb840e3dc20b4999b107705bdc3f47a.tar.xz
Added sd driver for bcm2835 (Raspberry PI)
Replaced defines according to sdhci.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm2835/core.c')
-rw-r--r--arch/arm/mach-bcm2835/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2835/core.c b/arch/arm/mach-bcm2835/core.c
index f44ecd5bf3..906e4344dd 100644
--- a/arch/arm/mach-bcm2835/core.c
+++ b/arch/arm/mach-bcm2835/core.c
@@ -70,6 +70,7 @@ static int bcm2835_dev_init(void)
{
add_generic_device("bcm2835-gpio", 0, NULL, BCM2835_GPIO_BASE, 0xB0, IORESOURCE_MEM, NULL);
add_generic_device("bcm2835-cs", DEVICE_ID_SINGLE, NULL, BCM2835_ST_BASE, 0x1C, IORESOURCE_MEM, NULL);
+ add_generic_device("bcm2835_mci", 0, NULL, BCM2835_EMMC_BASE, 0xFC, IORESOURCE_MEM, NULL);
return 0;
}
coredevice_initcall(bcm2835_dev_init);