The common.c content is specific to 64-bit R-Car SoCs, rename
the file to rcar64-common.c and remove R-Car 64-bit ifdeffery
in the file. No functional change.

Reviewed-by: Quentin Schulz <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Adam Ford <[email protected]>
Cc: Biju Das <[email protected]>
Cc: Lad Prabhakar <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Paul Barker <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
V2: No change
V3: - Add RB from Quentin
---
 board/beacon/beacon-rzg2m/Makefile                 | 2 +-
 board/hoperun/hihope-rzg2/Makefile                 | 2 +-
 board/renesas/common/Makefile                      | 2 +-
 board/renesas/common/{common.c => rcar64-common.c} | 0
 board/silinux/ek874/Makefile                       | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename board/renesas/common/{common.c => rcar64-common.c} (100%)

diff --git a/board/beacon/beacon-rzg2m/Makefile 
b/board/beacon/beacon-rzg2m/Makefile
index 6a6ae94def8..10b7a7fbfa9 100644
--- a/board/beacon/beacon-rzg2m/Makefile
+++ b/board/beacon/beacon-rzg2m/Makefile
@@ -6,4 +6,4 @@
 # SPDX-License-Identifier: GPL-2.0+
 #
 
-obj-y  := beacon-rzg2m.o ../../renesas/common/gen3-common.o 
../../renesas/common/common.o
+obj-y  := beacon-rzg2m.o ../../renesas/common/gen3-common.o 
../../renesas/common/rcar64-common.o
diff --git a/board/hoperun/hihope-rzg2/Makefile 
b/board/hoperun/hihope-rzg2/Makefile
index a42c55b9d00..299769c9cb6 100644
--- a/board/hoperun/hihope-rzg2/Makefile
+++ b/board/hoperun/hihope-rzg2/Makefile
@@ -6,4 +6,4 @@
 # SPDX-License-Identifier: GPL-2.0+
 #
 
-obj-y  := hihope-rzg2.o ../../renesas/common/gen3-common.o 
../../renesas/common/common.o
+obj-y  := hihope-rzg2.o ../../renesas/common/gen3-common.o 
../../renesas/common/rcar64-common.o
diff --git a/board/renesas/common/Makefile b/board/renesas/common/Makefile
index c531738b22e..8c26c0afd90 100644
--- a/board/renesas/common/Makefile
+++ b/board/renesas/common/Makefile
@@ -18,7 +18,7 @@ endif
 # 64 bit SoCs
 ifdef CONFIG_RCAR_64
 ifndef CONFIG_XPL_BUILD
-obj-y  += common.o
+obj-y  += rcar64-common.o
 endif
 
 ifdef CONFIG_RCAR_GEN3
diff --git a/board/renesas/common/common.c 
b/board/renesas/common/rcar64-common.c
similarity index 100%
rename from board/renesas/common/common.c
rename to board/renesas/common/rcar64-common.c
diff --git a/board/silinux/ek874/Makefile b/board/silinux/ek874/Makefile
index c1cab6fa788..0beda63d115 100644
--- a/board/silinux/ek874/Makefile
+++ b/board/silinux/ek874/Makefile
@@ -9,5 +9,5 @@
 ifdef CONFIG_XPL_BUILD
 obj-y  := ../../renesas/common/gen3-spl.o
 else
-obj-y  := ek874.o ../../renesas/common/gen3-common.o 
../../renesas/common/common.o
+obj-y  := ek874.o ../../renesas/common/gen3-common.o 
../../renesas/common/rcar64-common.o
 endif
-- 
2.45.2

Reply via email to