diff options
author | Daniel Schultz <d.schultz@phytec.de> | 2017-04-28 14:46:03 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-05 09:02:37 +0200 |
commit | 3122a7cf052dfe4330cb2169efa5effb7dfb336e (patch) | |
tree | 30c8d9f0c6cba34495d8d9f0515c8ef4fc2e2b50 /arch/arm/boards/phytec-som-am335x/board.c | |
parent | 6fc580129f577ea59f837d62d8d764939ab04e08 (diff) | |
download | barebox-3122a7cf052dfe4330cb2169efa5effb7dfb336e.tar.gz barebox-3122a7cf052dfe4330cb2169efa5effb7dfb336e.tar.xz |
arm: boards: Add MLO handler for EMMC devices
This patch enables the barebox handler to flash MLOs on EMMC devices
with 'barebox_update'.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/phytec-som-am335x/board.c')
-rw-r--r-- | arch/arm/boards/phytec-som-am335x/board.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-som-am335x/board.c b/arch/arm/boards/phytec-som-am335x/board.c index 7f62453d93..dc3b84a806 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(); |