diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-11 21:55:20 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-11 21:55:20 -0400 |
commit | 1612ff0dfba57b1002d8c7a54778eb553ace98f4 (patch) | |
tree | 53ef12c867f9f62ae488a173698262199838b184 /drivers/cpu/bmips_cpu.c | |
parent | 1703fbefd9183fffd76f4744a73f5ca9daef6313 (diff) | |
parent | c38abed5093a486d6349fc0d9d7a663f24965d78 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'drivers/cpu/bmips_cpu.c')
-rw-r--r-- | drivers/cpu/bmips_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c index f5bacd2b18..78560b0fb4 100644 --- a/drivers/cpu/bmips_cpu.c +++ b/drivers/cpu/bmips_cpu.c @@ -407,7 +407,7 @@ int bmips_cpu_probe(struct udevice *dev) const struct bmips_cpu_hw *hw = (const struct bmips_cpu_hw *)dev_get_driver_data(dev); - priv->regs = dev_remap_addr(dev); + priv->regs = dev_remap_addr(dev_get_parent(dev)); if (!priv->regs) return -EINVAL; |