[U-Boot] [PATCH 3/4] sh: r2dplus: Fix missing PCI range
Marek Vasut
marek.vasut at gmail.com
Sat Sep 14 19:25:47 UTC 2019
Add missing PCI range for translating DRAM to bus addresses.
This fixes e.g. PCI NIC interface and allows network to work
in QEMU.
Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
NOTE: Use qemu e.g. this way:
qemu-system-sh4 -machine r2d -nographic \
-serial null -serial mon:stdio -kernel u-boot.bin \
-netdev user,id=n1,tftp=/srv/tftp \
-device rtl8139,netdev=n1,mac=00:aa:bb:cc:dd:ee
NOTE: Tested with qemu 4.1.0
---
arch/sh/dts/sh7751-r2dplus.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/sh/dts/sh7751-r2dplus.dts b/arch/sh/dts/sh7751-r2dplus.dts
index ecaf0772d8..efaeb33e36 100644
--- a/arch/sh/dts/sh7751-r2dplus.dts
+++ b/arch/sh/dts/sh7751-r2dplus.dts
@@ -21,6 +21,7 @@
#size-cells = <2>;
#interrupt-cells = <1>;
ranges = <0x01000000 0 0xfe240000 0 0xfe240000 0 0x00040000
- 0x02000000 0 0xfd000000 0 0xfd000000 0 0x01000000>;
+ 0x02000000 0 0xfd000000 0 0xfd000000 0 0x01000000
+ 0x42000000 0 0x0c000000 0 0x8c000000 0 0x04000000>;
};
};
--
2.23.0.rc1
More information about the U-Boot
mailing list