changeset 412:6c14d1ecc17d

fix ath0 by moving hint.spi to board definition after hint.ath; rename map art to ART; approved by ray
author Eric Krausser <eric@krausser-edv.de>
date Thu, 17 May 2012 20:57:40 +0200
parents 570203d78dda
children 302831d00c8b
files boards/TPLink/TL-WR1043ND-v1/board.hints boards/TPLink/TL-WR941ND-v3_2/board.hints socs/Atheros/AR9132/soc.hints
diffstat 3 files changed, 14 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/boards/TPLink/TL-WR1043ND-v1/board.hints	Thu May 17 02:33:50 2012 +0200
+++ b/boards/TPLink/TL-WR1043ND-v1/board.hints	Thu May 17 20:57:40 2012 +0200
@@ -17,6 +17,14 @@
 hint.ath.0.maddr=0x180c0000
 hint.ath.0.msize=0x30000
 hint.ath.0.irq=0
+# Where ART is
+hint.ath.0.eepromaddr=0x1fff1000
+
+# ar71xx_spi (after hint.ath, or
+# "nexus_alloc_resource: could not reserve resource for ath0")
+hint.spi.0.at="nexus0"
+hint.spi.0.maddr=0x1f000000
+hint.spi.0.msize=0x01000000
 
 # PHY
 hint.miibus.0.phymask=0x00000000
@@ -35,9 +43,6 @@
 # Where is the MAC address stored in flash for this particular unit.
 hint.arge.0.eeprommac=0x1f01fc00
 
-# Where the ART is
-hint.ath.0.eepromaddr=0x1fff1000
-
 #
 # Define a slightly custom flash layout.
 # The default flash layout:
@@ -96,7 +101,7 @@
 hint.map.5.at="flash/spi0"
 hint.map.5.start=0x007f0000
 hint.map.5.end=0x00800000
-hint.map.5.name="art"
+hint.map.5.name="ART"
 hint.map.5.readonly=1
 
 # GPIO specific configuration block
--- a/boards/TPLink/TL-WR941ND-v3_2/board.hints	Thu May 17 02:33:50 2012 +0200
+++ b/boards/TPLink/TL-WR941ND-v3_2/board.hints	Thu May 17 20:57:40 2012 +0200
@@ -19,6 +19,11 @@
 hint.ath.0.irq=0
 hint.ath.0.eepromaddr=0x1fff1000
 
+# ar71xx_spi
+hint.spi.0.at="nexus0"
+hint.spi.0.maddr=0x1f000000
+hint.spi.0.msize=0x01000000
+
 # SYS led
 hint.gpioled.0.at="gpiobus0"
 hint.gpioled.0.name="sys"
--- a/socs/Atheros/AR9132/soc.hints	Thu May 17 02:33:50 2012 +0200
+++ b/socs/Atheros/AR9132/soc.hints	Thu May 17 20:57:40 2012 +0200
@@ -16,11 +16,6 @@
 hint.ehci.0.msize=0x00ffff00
 hint.ehci.0.irq=1
 
-# ar71xx_spi
-hint.spi.0.at="nexus0"
-hint.spi.0.maddr=0x1f000000
-hint.spi.0.msize=0x01000000
-
 # SPI flash
 hint.mx25l.0.at="spibus0"
 hint.mx25l.0.cs=0