[PATCH] arm: rockchip: radxa-rock3: Add bbu handler for sd card
Sascha Hauer
s.hauer at pengutronix.de
Fri Jul 15 04:56:04 PDT 2022
The radxa-rock3 has an SD card slot as well, add a barebox update
handler for it.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/radxa-rock3/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/radxa-rock3/board.c b/arch/arm/boards/radxa-rock3/board.c
index aef5ec5df6..f63dc3945a 100644
--- a/arch/arm/boards/radxa-rock3/board.c
+++ b/arch/arm/boards/radxa-rock3/board.c
@@ -28,6 +28,7 @@ static int rock3_probe(struct device_d *dev)
rk3568_bbu_mmc_register("emmc", BBU_HANDLER_FLAG_DEFAULT,
"/dev/mmc1");
+ rk3568_bbu_mmc_register("sd", 0, "/dev/mmc0");
return 0;
}
--
2.30.2
More information about the barebox
mailing list