Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136737768
D11883.id31703.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
782 B
Referenced Files
None
Subscribers
None
D11883.id31703.diff
View Options
Index: sys/arm/mv/mv_common.c
===================================================================
--- sys/arm/mv/mv_common.c
+++ sys/arm/mv/mv_common.c
@@ -2630,10 +2630,25 @@
}
}
+static void
+fdt_fixup_cache_controller(phandle_t root)
+{
+ phandle_t sb;
+
+ /*
+ * Simply add arm,io-coherent property to cache-controller
+ */
+ if((sb = ofw_bus_find_compatible(root, "arm,pl310-cache")) != 0)
+ if (OF_setprop(sb, "arm,io-coherent", NULL, 0) >= 0)
+ return;
+ panic("Can't fixup Armada380 cache-controller\n");
+}
+
struct fdt_fixup_entry fdt_fixup_table[] = {
{ "mrvl,DB-88F6281", &fdt_fixup_busfreq },
{ "mrvl,DB-78460", &fdt_fixup_busfreq },
{ "mrvl,DB-78460", &fdt_fixup_ranges },
+ { "marvell,armada380", &fdt_fixup_cache_controller},
{ NULL, NULL }
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 20, 4:15 AM (4 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25612413
Default Alt Text
D11883.id31703.diff (782 B)
Attached To
Mode
D11883: Enable pl310 coherent operation in platform init for Armada 38x
Attached
Detach File
Event Timeline
Log In to Comment