summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-27 17:05:46 +0100
committerTom Rini <trini@konsulko.com>2024-03-02 14:29:36 -0500
commitca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487 (patch)
tree9df18452f3da830ecb63cade0a0926cc688d1bfb /board
parent6bd3a95b674cb22a14868778fe2cb61b3e5a9008 (diff)
downloadu-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.tar.gz
u-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.tar.bz2
u-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.zip
ARM: renesas: Rename rmobile_get_cpu_rev_*() to renesas_get_cpu_rev_*()
Rename rmobile_get_cpu_rev_*() to renesas_get_cpu_rev_*() 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_get_cpu_rev_\(integer\|fraction\)\>' | \ xargs -I {} sed -i 's@\<rmobile_get_cpu_rev_\(integer\|fraction\)\>@renesas_get_cpu_rev_\1@g' {} " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/lager/lager.c2
-rw-r--r--board/renesas/lager/qos.c2
-rw-r--r--board/renesas/stout/qos.c2
-rw-r--r--board/renesas/stout/stout.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c
index d9d460834b..ab06078c51 100644
--- a/board/renesas/lager/lager.c
+++ b/board/renesas/lager/lager.c
@@ -46,7 +46,7 @@ void s_init(void)
writel(0xA5A5A500, &swdt->swtcsra);
/* CPU frequency setting. Set to 1.4GHz */
- if (rmobile_get_cpu_rev_integer() >= R8A7790_CUT_ES2X) {
+ if (renesas_get_cpu_rev_integer() >= R8A7790_CUT_ES2X) {
u32 stat = 0;
u32 stc = ((1400 / CLK2MHZ(get_board_sys_clk())) - 1)
<< PLL0_STC_BIT;
diff --git a/board/renesas/lager/qos.c b/board/renesas/lager/qos.c
index ddc831c0c2..f7eade2ed1 100644
--- a/board/renesas/lager/qos.c
+++ b/board/renesas/lager/qos.c
@@ -2419,7 +2419,7 @@ static void qos_init_es2(void)
void qos_init(void)
{
- if (rmobile_get_cpu_rev_integer() >= R8A7790_CUT_ES2X)
+ if (renesas_get_cpu_rev_integer() >= R8A7790_CUT_ES2X)
qos_init_es2();
else
qos_init_es1();
diff --git a/board/renesas/stout/qos.c b/board/renesas/stout/qos.c
index 9030ba7f61..8a878123a5 100644
--- a/board/renesas/stout/qos.c
+++ b/board/renesas/stout/qos.c
@@ -2421,7 +2421,7 @@ static void qos_init_es2(void)
void qos_init(void)
{
- if (rmobile_get_cpu_rev_integer() >= R8A7790_CUT_ES2X)
+ if (renesas_get_cpu_rev_integer() >= R8A7790_CUT_ES2X)
qos_init_es2();
else
qos_init_es1();
diff --git a/board/renesas/stout/stout.c b/board/renesas/stout/stout.c
index 46c48dff0a..109e19a292 100644
--- a/board/renesas/stout/stout.c
+++ b/board/renesas/stout/stout.c
@@ -46,7 +46,7 @@ void s_init(void)
writel(0xA5A5A500, &swdt->swtcsra);
/* CPU frequency setting. Set to 1.4GHz */
- if (rmobile_get_cpu_rev_integer() >= R8A7790_CUT_ES2X) {
+ if (renesas_get_cpu_rev_integer() >= R8A7790_CUT_ES2X) {
u32 stat = 0;
u32 stc = ((1400 / CLK2MHZ(get_board_sys_clk())) - 1)
<< PLL0_STC_BIT;