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
848c22d7b1
commit
fb3f4b7549
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336772
@ -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…
Reference in New Issue
Block a user