[PATCH v1 8/8] ARM: imx6sx: udoo-neo: add barebox update handler support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make this board properly updatable by bbu support.

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux