diff options
author | zbb <zbb@FreeBSD.org> | 2016-01-20 13:32:13 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2016-01-20 13:32:13 +0000 |
commit | 6af435aa28cff0f46d612305cce25f4f7503cde4 (patch) | |
tree | f0b1343167d877c931637872838f14c5ce68cc73 /sys/boot/fdt/dts | |
parent | 5c07389daed09120ac5cc01420fbc4a63a2a2a7a (diff) | |
download | FreeBSD-src-6af435aa28cff0f46d612305cce25f4f7503cde4.zip FreeBSD-src-6af435aa28cff0f46d612305cce25f4f7503cde4.tar.gz |
Correct ranges in Armada38x dts
Ranges property of 'soc' node used two-cell addresses which resulted in
casting errors as simplebus resource allocation works with 32-bit u_long
variables. FDT ranges were simplified.
Reviewed by: imp
Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Michal Stanek <mst@semihalf.com>
Differential revision: https://reviews.freebsd.org/D4212
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/armada-388-gp.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/fdt/dts/arm/armada-388-gp.dts b/sys/boot/fdt/dts/arm/armada-388-gp.dts index f20e4e4..06999a0 100644 --- a/sys/boot/fdt/dts/arm/armada-388-gp.dts +++ b/sys/boot/fdt/dts/arm/armada-388-gp.dts @@ -59,8 +59,7 @@ }; soc { - ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 - MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; + ranges = <0 0 0xf1000000 0x100000>; internal-regs { spi@10600 { |