[PATCH] arm: rockchip: radxa-rock3: Add bbu handler for sd card

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

 



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

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





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

  Powered by Linux