[PATCH 1/3] ARM: i.MX Riotboard: Add SD card update handler

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 7 04:53:25 PST 2023


The Riotboard has an SD card slot from which the board can be booted.
Add an update handler for it.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/embest-riotboard/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boards/embest-riotboard/board.c b/arch/arm/boards/embest-riotboard/board.c
index 2e0cc9f0ab..ee6ae22190 100644
--- a/arch/arm/boards/embest-riotboard/board.c
+++ b/arch/arm/boards/embest-riotboard/board.c
@@ -60,6 +60,7 @@ static int riotboard_device_init(void)
 
 	imx6_bbu_internal_mmc_register_handler("emmc", "/dev/mmc3.barebox",
 			BBU_HANDLER_FLAG_DEFAULT);
+	imx6_bbu_internal_mmc_register_handler("sd", "/dev/mmc2", 0);
 
 	barebox_set_hostname("riotboard");
 
-- 
2.30.2




More information about the barebox mailing list