mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: rockchip: radxa-rock3: Add bbu handler for sd card
@ 2022-07-15 11:56 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2022-07-15 11:56 UTC (permalink / raw)
  To: Barebox List

The radxa-rock3 has an SD card slot as well, add a barebox update
handler for it.

Signed-off-by: Sascha Hauer <s.hauer@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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-15 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 11:56 [PATCH] arm: rockchip: radxa-rock3: Add bbu handler for sd card Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox