[U-Boot] [PATCH 16/23] ARM: rmobile: Zap rmobile_sysinfo on Gen3

Marek Vasut marek.vasut at gmail.com
Wed Nov 29 02:52:15 UTC 2017


Since checkboard() is gone, rmobile_sysinfo is also pointless on Gen3.
Furthermore, nuke ad-hoc CONFIG_RCAR_BOARD_STRING which is also dead.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 board/renesas/salvator-x/salvator-x.c | 4 ----
 board/renesas/ulcb/ulcb.c             | 4 ----
 include/configs/salvator-x.h          | 2 --
 include/configs/ulcb.h                | 2 --
 4 files changed, 12 deletions(-)

diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
index 1b8ae574c5..f21360c4c5 100644
--- a/board/renesas/salvator-x/salvator-x.c
+++ b/board/renesas/salvator-x/salvator-x.c
@@ -142,10 +142,6 @@ int dram_init_banksize(void)
 	return 0;
 }
 
-const struct rmobile_sysinfo sysinfo = {
-	CONFIG_RCAR_BOARD_STRING
-};
-
 #define RST_BASE	0xE6160000
 #define RST_CA57RESCNT	(RST_BASE + 0x40)
 #define RST_CA53RESCNT	(RST_BASE + 0x44)
diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c
index ca1b71975b..000dd51ab7 100644
--- a/board/renesas/ulcb/ulcb.c
+++ b/board/renesas/ulcb/ulcb.c
@@ -129,7 +129,3 @@ int dram_init_banksize(void)
 #endif
 	return 0;
 }
-
-const struct rmobile_sysinfo sysinfo = {
-	CONFIG_RCAR_BOARD_STRING
-};
diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h
index 605c9c64b8..805c0c254e 100644
--- a/include/configs/salvator-x.h
+++ b/include/configs/salvator-x.h
@@ -12,8 +12,6 @@
 
 #undef DEBUG
 
-#define CONFIG_RCAR_BOARD_STRING "Salvator-X"
-
 #include "rcar-gen3-common.h"
 
 /* SCIF */
diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h
index 8f989bbce5..001756c8e4 100644
--- a/include/configs/ulcb.h
+++ b/include/configs/ulcb.h
@@ -12,8 +12,6 @@
 
 #undef DEBUG
 
-#define CONFIG_RCAR_BOARD_STRING "ULCB"
-
 #include "rcar-gen3-common.h"
 
 /* M3 ULCB has 2 banks, each with 1 GiB of RAM */
-- 
2.15.0



More information about the U-Boot mailing list