mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <>
To: Barebox List <>
Subject: [PATCH] arm: rockchip: radxa-rock3: register barebox update handler
Date: Mon, 13 Jun 2022 09:10:19 +0200	[thread overview]
Message-ID: <> (raw)

Register a barebox update handler on the eMMC card.

Signed-off-by: Sascha Hauer <>
 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)
+	rk3568_bbu_mmc_register("emmc", BBU_HANDLER_FLAG_DEFAULT,
+				"/dev/mmc1");
 	return 0;

barebox mailing list

                 reply	other threads:[~2022-06-13  7:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: [PATCH] arm: rockchip: radxa-rock3: register barebox update handler' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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