[PATCH] ARM: i.MX53 QSB: remove unused /dev/env0 partition
Sascha Hauer
s.hauer at pengutronix.de
Wed Mar 4 00:08:22 PST 2015
The environment on the QSB is configured via devicetree, but in
the code there's also a /dev/env0 registered which is unused. Remove
it.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/freescale-mx53-qsb/board.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boards/freescale-mx53-qsb/board.c b/arch/arm/boards/freescale-mx53-qsb/board.c
index f65b556..dd2abb5 100644
--- a/arch/arm/boards/freescale-mx53-qsb/board.c
+++ b/arch/arm/boards/freescale-mx53-qsb/board.c
@@ -85,10 +85,6 @@ static int loco_late_init(void)
!of_machine_is_compatible("fsl,imx53-qsrb"))
return 0;
- device_detect_by_name("mmc0");
-
- devfs_add_partition("mmc0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env0");
-
mc34708 = mc13xxx_get();
if (mc34708) {
unsigned int val;
--
2.1.4
More information about the barebox
mailing list