[PATCH 3/4] ARM: i.MX51 babbage: detect environment device
Sascha Hauer
s.hauer at pengutronix.de
Wed Jun 26 03:33:15 EDT 2013
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/freescale-mx51-pdk/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
index 6807796..fc7e175 100644
--- a/arch/arm/boards/freescale-mx51-pdk/board.c
+++ b/arch/arm/boards/freescale-mx51-pdk/board.c
@@ -181,6 +181,8 @@ device_initcall(f3s_devices_init);
static int f3s_part_init(void)
{
+ device_detect_by_name("mmc0");
+
devfs_add_partition("mmc0", 0x00000, 0x40000, DEVFS_PARTITION_FIXED, "self0");
devfs_add_partition("mmc0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env0");
--
1.8.3.1
More information about the barebox
mailing list