* [PATCH] arm: rockchip: radxa-rock3: register barebox update handler
@ 2022-06-13 7:10 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2022-06-13 7:10 UTC (permalink / raw)
To: Barebox List
Register a barebox update handler on the eMMC card.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/radxa-rock3/board.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/radxa-rock3/board.c b/arch/arm/boards/radxa-rock3/board.c
index 05a526b06e..30ad594d0a 100644
--- a/arch/arm/boards/radxa-rock3/board.c
+++ b/arch/arm/boards/radxa-rock3/board.c
@@ -2,6 +2,7 @@
#include <bootsource.h>
#include <common.h>
#include <init.h>
+#include <mach/bbu.h>
struct rock3_model {
const char *name;
@@ -24,6 +25,9 @@ static int rock3_probe(struct device_d *dev)
else
of_device_enable_path("/chosen/environment-emmc");
+ rk3568_bbu_mmc_register("emmc", BBU_HANDLER_FLAG_DEFAULT,
+ "/dev/mmc1");
+
return 0;
}
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-13 7:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 7:10 [PATCH] arm: rockchip: radxa-rock3: register barebox update handler Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox