[PATCH v2 2/2] ARM: am335x: Register eMMC MLO handler
Daniel Schultz
d.schultz at phytec.de
Mon Sep 7 02:59:54 PDT 2015
Register the eMMC MLO handler to the barebox_update command.
Signed-off-by: Daniel Schultz <d.schultz at phytec.de>
---
Changes:
v2:
No changes
arch/arm/boards/beaglebone/board.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c
index 4e0e374..5717c45 100644
--- a/arch/arm/boards/beaglebone/board.c
+++ b/arch/arm/boards/beaglebone/board.c
@@ -38,6 +38,7 @@
#include <mach/syslib.h>
#include <mach/gpmc.h>
#include <linux/err.h>
+#include <mach/bbu.h>
#include "beaglebone.h"
@@ -92,6 +93,9 @@ static int beaglebone_devices_init(void)
armlinux_set_architecture(MACH_TYPE_BEAGLEBONE);
+ /* Register update handler */
+ am33xx_bbu_emmc_mlo_register_handler("MLO.emmc", "/dev/mmc1");
+
if (IS_ENABLED(CONFIG_SHELL_NONE))
return am33xx_of_register_bootdevice();
--
1.9.1
More information about the barebox
mailing list