Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148355666
D4212.id11287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D4212.id11287.diff
View Options
Index: sys/boot/fdt/dts/arm/armada-388-gp.dts
===================================================================
--- sys/boot/fdt/dts/arm/armada-388-gp.dts
+++ sys/boot/fdt/dts/arm/armada-388-gp.dts
@@ -59,10 +59,11 @@
};
soc {
- ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
- MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>;
+ ranges = <0 0 0xf1000000 0x100000>;
internal-regs {
+ ranges;
+
spi@10600 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
Index: sys/dev/fdt/fdt_common.c
===================================================================
--- sys/dev/fdt/fdt_common.c
+++ sys/dev/fdt/fdt_common.c
@@ -212,7 +212,7 @@
* Try to access the SOC node directly i.e. through /aliases/.
*/
if ((node = OF_finddevice("soc")) != 0)
- if (fdt_is_compatible_strict(node, "simple-bus"))
+ if (fdt_is_compatible(node, "simple-bus"))
goto moveon;
/*
* Find the node the long way.
@@ -220,7 +220,7 @@
if ((node = OF_finddevice("/")) == 0)
return (ENXIO);
- if ((node = fdt_find_compatible(node, "simple-bus", 1)) == 0)
+ if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0)
return (ENXIO);
moveon:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 8:14 AM (14 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29893359
Default Alt Text
D4212.id11287.diff (1 KB)
Attached To
Mode
D4212: Correct ranges in Armada38x dts
Attached
Detach File
Event Timeline
Log In to Comment