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:
parent
e572e5e488
commit
63398019f7
@ -8,7 +8,7 @@
|
||||
|
||||
ident RT1310
|
||||
include "std.arm"
|
||||
hints "RT1310.hints"
|
||||
include "../ralink/std.ralink"
|
||||
|
||||
# Flattened Device Tree
|
||||
options FDT
|
||||
|
@ -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
sys/arm/ralink/std.ralink
Normal file
5
sys/arm/ralink/std.ralink
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
files "../ralink/files.ralink"
|
||||
cpu CPU_ARM9
|
||||
machine arm
|
||||
options INTRNG
|
Loading…
x
Reference in New Issue
Block a user