[PATCH v1 8/8] ARM: imx6sx: udoo-neo: add barebox update handler support
Oleksij Rempel
o.rempel at pengutronix.de
Fri Jan 13 03:34:07 PST 2023
Make this board properly updatable by bbu support.
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
arch/arm/boards/udoo-neo/board.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boards/udoo-neo/board.c b/arch/arm/boards/udoo-neo/board.c
index ffdb70dfae..075423099b 100644
--- a/arch/arm/boards/udoo-neo/board.c
+++ b/arch/arm/boards/udoo-neo/board.c
@@ -97,6 +97,9 @@ static int imx6sx_udoneo_probe(struct device *dev)
barebox_set_model(model);
barebox_set_hostname("mx6sx-udooneo");
+ imx6_bbu_internal_mmc_register_handler("emmc", "/dev/mmc1.barebox",
+ BBU_HANDLER_FLAG_DEFAULT);
+
return 0;
}
--
2.30.2
More information about the barebox
mailing list