diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-02-27 17:05:46 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-02 14:29:36 -0500 |
commit | ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487 (patch) | |
tree | 9df18452f3da830ecb63cade0a0926cc688d1bfb /board/renesas/stout | |
parent | 6bd3a95b674cb22a14868778fe2cb61b3e5a9008 (diff) | |
download | u-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.zip u-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.tar.gz u-boot-ca40ed6d7f65b15c33f7cbc6b73f13a34fcfe487.tar.bz2 |
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/renesas/stout')
-rw-r--r-- | board/renesas/stout/qos.c | 2 | ||||
-rw-r--r-- | board/renesas/stout/stout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/renesas/stout/qos.c b/board/renesas/stout/qos.c index 9030ba7..8a87812 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 46c48df..109e19a 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; |