ARM: brcmstb: Add entry for 7260
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 9 Mar 2017 18:51:20 +0000 (10:51 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 15 Mar 2017 21:57:50 +0000 (14:57 -0700)
BCM7260 has the same UART base address as 7268, order the entries by
ascending chip number and alias the 7268 definition to the 7260
definition.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/include/debug/brcmstb.S

index 9113d7b..52aaed2 100644 (file)
@@ -22,7 +22,8 @@
 
 #define UARTA_3390             REG_PHYS_ADDR(0x40a900)
 #define UARTA_7250             REG_PHYS_ADDR(0x40b400)
-#define UARTA_7268             REG_PHYS_ADDR(0x40c000)
+#define UARTA_7260             REG_PHYS_ADDR(0x40c000)
+#define UARTA_7268             UARTA_7260
 #define UARTA_7271             UARTA_7268
 #define UARTA_7364             REG_PHYS_ADDR(0x40b000)
 #define UARTA_7366             UARTA_7364
                /* Chip specific detection starts here */
 20:            checkuart(\rp, \rv, 0x33900000, 3390)
 21:            checkuart(\rp, \rv, 0x72500000, 7250)
-22:            checkuart(\rp, \rv, 0x72680000, 7268)
-23:            checkuart(\rp, \rv, 0x72710000, 7271)
-24:            checkuart(\rp, \rv, 0x73640000, 7364)
-25:            checkuart(\rp, \rv, 0x73660000, 7366)
-26:            checkuart(\rp, \rv, 0x07437100, 74371)
-27:            checkuart(\rp, \rv, 0x74390000, 7439)
-28:            checkuart(\rp, \rv, 0x74450000, 7445)
+22:            checkuart(\rp, \rv, 0x72600000, 7260)
+23:            checkuart(\rp, \rv, 0x72680000, 7268)
+24:            checkuart(\rp, \rv, 0x72710000, 7271)
+25:            checkuart(\rp, \rv, 0x73640000, 7364)
+26:            checkuart(\rp, \rv, 0x73660000, 7366)
+27:            checkuart(\rp, \rv, 0x07437100, 74371)
+28:            checkuart(\rp, \rv, 0x74390000, 7439)
+29:            checkuart(\rp, \rv, 0x74450000, 7445)
 
                /* No valid UART found */
 90:            mov     \rp, #0