This patch enables the barebox handler to flash MLOs on EMMC devices
with 'barebox_update'.

Signed-off-by: Daniel Schultz <d.schu...@phytec.de>
---
 arch/arm/boards/phytec-som-am335x/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boards/phytec-som-am335x/board.c 
b/arch/arm/boards/phytec-som-am335x/board.c
index 7f62453..dc3b84a 100644
--- a/arch/arm/boards/phytec-som-am335x/board.c
+++ b/arch/arm/boards/phytec-som-am335x/board.c
@@ -112,6 +112,7 @@ static int physom_devices_init(void)
                xloadslots, ARRAY_SIZE(xloadslots));
        am33xx_bbu_nand_slots_register_handler("nand", nandslots,
                                ARRAY_SIZE(nandslots));
+       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

Reply via email to