Register the eMMC MLO handler to the barebox_update command. Signed-off-by: Daniel Schultz <d.schu...@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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox