aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-27 17:05:45 +0100
committerTom Rini <trini@konsulko.com>2024-03-02 14:29:36 -0500
commit6bd3a95b674cb22a14868778fe2cb61b3e5a9008 (patch)
treeff390c2d3d0d959dd19fce34617f2c73071ae346 /drivers/net
parent9a2614b4584a32398f38856bc5e529050060a03a (diff)
downloadu-boot-6bd3a95b674cb22a14868778fe2cb61b3e5a9008.zip
u-boot-6bd3a95b674cb22a14868778fe2cb61b3e5a9008.tar.gz
u-boot-6bd3a95b674cb22a14868778fe2cb61b3e5a9008.tar.bz2
ARM: renesas: Rename rmobile_get_cpu_type() to renesas_get_cpu_type()
Rename rmobile_get_cpu_type() to renesas_get_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_get_cpu_type\>' | \ xargs -I {} sed -i 's@\<rmobile_get_cpu_type\>@renesas_get_cpu_type@g' {} " Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ravb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
index 0bcd6cf..733f08a 100644
--- a/drivers/net/ravb.c
+++ b/drivers/net/ravb.c
@@ -392,8 +392,8 @@ static int ravb_dmac_init(struct udevice *dev)
writel(0x00222210, eth->iobase + RAVB_REG_TGC);
/* Delay CLK: 2ns (not applicable on R-Car E3/D3) */
- if ((rmobile_get_cpu_type() == RMOBILE_CPU_TYPE_R8A77990) ||
- (rmobile_get_cpu_type() == RMOBILE_CPU_TYPE_R8A77995))
+ if ((renesas_get_cpu_type() == RMOBILE_CPU_TYPE_R8A77990) ||
+ (renesas_get_cpu_type() == RMOBILE_CPU_TYPE_R8A77995))
return 0;
if (!dev_read_u32(dev, "rx-internal-delay-ps", &delay)) {