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 <[email protected]>
---
 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


Reply via email to