summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/efika-mx-smartbook
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-24 22:50:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-26 18:17:17 +0200
commit5752c2eb3214049df8aabe90dea8763627068862 (patch)
treeca19db5b74bf599b415076933d597d3afd02e51e /arch/arm/boards/efika-mx-smartbook
parent8d2762ff56bf76f2a8b9194e648dcdd24821a6ab (diff)
downloadbarebox-5752c2eb3214049df8aabe90dea8763627068862.tar.gz
barebox-5752c2eb3214049df8aabe90dea8763627068862.tar.xz
ARM: i.MX51 efikasb: detect environment device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c
index 11f222e17e..0e6694bc69 100644
--- a/arch/arm/boards/efika-mx-smartbook/board.c
+++ b/arch/arm/boards/efika-mx-smartbook/board.c
@@ -252,6 +252,8 @@ static int efikamx_late_init(void)
switch (bootsource) {
case BOOTSOURCE_MMC:
+ device_detect_by_name("mmc1");
+
devfs_add_partition("mmc1", 0x00000, 0x80000,
DEVFS_PARTITION_FIXED, "self0");
devfs_add_partition("mmc1", 0x80000, 0x80000,