aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-renesas/board.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-27 17:05:56 +0100
committerTom Rini <trini@konsulko.com>2024-03-02 14:29:36 -0500
commit40b9d53c7402c2ceac03c4c2af77a025ce11a0ca (patch)
tree0b44b5aff4e364837093910bb38102d53c18d4ec /arch/arm/mach-renesas/board.c
parentf9aabd457930f5569297f8a0c4449b9768c1e0cf (diff)
downloadu-boot-40b9d53c7402c2ceac03c4c2af77a025ce11a0ca.zip
u-boot-40b9d53c7402c2ceac03c4c2af77a025ce11a0ca.tar.gz
u-boot-40b9d53c7402c2ceac03c4c2af77a025ce11a0ca.tar.bz2
ARM: renesas: Rename arch-/mach-rmobile to arch-/mach-renesas
Rename arch-rmobile to arch-renesas and mach-rmobile to mach-renesas because all the chips are made by Renesas, while only a subset of them is from the R-Mobile line. Use the following command to perform the rename, with manual move of the directories using git mv and manual fix up to arch/arm/Makefile: " $ git grep -l '\<\(arch\|mach\)-rmobile\>' | \ xargs -I {} sed -i 's@\<\(arch\|mach\)-rmobile\>@\1-renesas@g' {} $ sed -i 's@rmobile@renesas@' board/*/*/Kconfig " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'arch/arm/mach-renesas/board.c')
-rw-r--r--arch/arm/mach-renesas/board.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-renesas/board.c b/arch/arm/mach-renesas/board.c
new file mode 100644
index 0000000..f061e41
--- /dev/null
+++ b/arch/arm/mach-renesas/board.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
+ * (C) Copyright 2012 Renesas Solutions Corp.
+ */
+
+#include <init.h>
+#include <asm/io.h>
+
+#ifdef CONFIG_ARCH_RENESAS_BOARD_STRING
+int checkboard(void)
+{
+ printf("Board: %s\n", CONFIG_ARCH_RENESAS_BOARD_STRING);
+ return 0;
+}
+#endif