summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2024-02-27 17:05:47 +0100
committerTom Rini <[email protected]>2024-03-02 14:29:36 -0500
commitc2cffb01aab273ee6dee55fb8d0c2cc823342178 (patch)
tree11e6e01e8962974bd8ad1750c301047b3d059ba8 /board
parentca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487 (diff)
ARM: renesas: Rename RMOBILE_CPU_TYPE_* to RENESAS_CPU_TYPE_*
Rename RMOBILE_CPU_TYPE_* to RENESAS_CPU_TYPE_* 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: " $ git grep -l '\<RMOBILE_CPU_TYPE_[A-Z0-9]\+\>' | \ xargs -I {} sed -i 's@\<RMOBILE\(_CPU_TYPE_[A-Z0-9]\+\)\>@RENESAS\1@g' {} " Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Paul Barker <[email protected]>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/salvator-x/salvator-x.c6
-rw-r--r--board/renesas/ulcb/ulcb.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
index 01571625e71..ca05285a09b 100644
--- a/board/renesas/salvator-x/salvator-x.c
+++ b/board/renesas/salvator-x/salvator-x.c
@@ -78,15 +78,15 @@ int board_fit_config_name_match(const char *name)
/* PRR driver is not available yet */
u32 cpu_type = renesas_get_cpu_type();
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A7795) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A7795) &&
!strcmp(name, "r8a77950-salvator-x-u-boot"))
return 0;
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A7796) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A7796) &&
!strcmp(name, "r8a77960-salvator-x-u-boot"))
return 0;
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A77965) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A77965) &&
!strcmp(name, "r8a77965-salvator-x-u-boot"))
return 0;
diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c
index 5d7ebbd922f..6addf2bc8b4 100644
--- a/board/renesas/ulcb/ulcb.c
+++ b/board/renesas/ulcb/ulcb.c
@@ -69,15 +69,15 @@ int board_fit_config_name_match(const char *name)
/* PRR driver is not available yet */
u32 cpu_type = renesas_get_cpu_type();
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A7795) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A7795) &&
!strcmp(name, "r8a77950-ulcb-u-boot"))
return 0;
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A7796) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A7796) &&
!strcmp(name, "r8a77960-ulcb-u-boot"))
return 0;
- if ((cpu_type == RMOBILE_CPU_TYPE_R8A77965) &&
+ if ((cpu_type == RENESAS_CPU_TYPE_R8A77965) &&
!strcmp(name, "r8a77965-ulcb-u-boot"))
return 0;