Make ralink compile again.

Add std.ralink to define common things across all ralink configs.
Add cpu, machine and options INTRNG to this file.
Remove RT1310.hints file reference: that file isn't in our tree.
This commit is contained in:
Warner Losh
2018-07-27 18:31:30 +00:00
parent 848c22d7b1
commit fb3f4b7549
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
ident RT1310
include "std.arm"
hints "RT1310.hints"
include "../ralink/std.ralink"
# Flattened Device Tree
options FDT
+1 -1
View File
@@ -140,7 +140,7 @@ rt1310_intc_probe(device_t dev)
if (!ofw_bus_status_okay(dev))
return (ENXIO);
if (!ofw_bus_is_compatible(dev, "rt,pic"))
if (!ofw_bus_is_compatible_strict(dev, "rt,pic"))
return (ENXIO);
#ifdef INTRNG
+5
View File
@@ -0,0 +1,5 @@
# $FreeBSD$
files "../ralink/files.ralink"
cpu CPU_ARM9
machine arm
options INTRNG