[PATCH] fixup! arm: rockchip-rk3568-evb: add hardware id detection

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Jul 5 10:18:08 PDT 2021


Ensure the pr_err below has a nice prefix, so users have some context
about the error message without having to consult the source code.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/arm/boards/rockchip-rk3568-evb/board.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boards/rockchip-rk3568-evb/board.c b/arch/arm/boards/rockchip-rk3568-evb/board.c
index f8b257e5737c..35f2a2916133 100644
--- a/arch/arm/boards/rockchip-rk3568-evb/board.c
+++ b/arch/arm/boards/rockchip-rk3568-evb/board.c
@@ -1,4 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
+
+#define pr_fmt(fmt) "rk3568-evb: " fmt
+
 #include <common.h>
 #include <init.h>
 #include <mach/bbu.h>
-- 
2.30.2




More information about the barebox mailing list