Skip to content

Commit 3992d06

Browse files
committed
ARM: brcmstb: Add debug UART entry for 74165
BCM74165 uses the same address map as the 7278 family (v7 memory map) therefore re-use that constant and shift down the other labels to keep numerical ordering. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Florian Fainelli <[email protected]>
1 parent 6613476 commit 3992d06

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

arch/arm/include/debug/brcmstb.S

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#define UARTA_72165 UARTA_7278
2828
#define UARTA_7364 REG_PHYS_ADDR(0x40b000)
2929
#define UARTA_7366 UARTA_7364
30+
#define UARTA_74165 UARTA_7278
3031
#define UARTA_74371 REG_PHYS_ADDR(0x406b00)
3132
#define UARTA_7439 REG_PHYS_ADDR(0x40a900)
3233
#define UARTA_7445 REG_PHYS_ADDR(0x40ab00)
@@ -88,9 +89,10 @@ ARM_BE8( rev \rv, \rv )
8889
30: checkuart(\rp, \rv, 0x72780000, 7278)
8990
31: checkuart(\rp, \rv, 0x73640000, 7364)
9091
32: checkuart(\rp, \rv, 0x73660000, 7366)
91-
33: checkuart(\rp, \rv, 0x07437100, 74371)
92-
34: checkuart(\rp, \rv, 0x74390000, 7439)
93-
35: checkuart(\rp, \rv, 0x74450000, 7445)
92+
33: checkuart(\rp, \rv, 0x07416500, 74165)
93+
34: checkuart(\rp, \rv, 0x07437100, 74371)
94+
35: checkuart(\rp, \rv, 0x74390000, 7439)
95+
36: checkuart(\rp, \rv, 0x74450000, 7445)
9496

9597
/* No valid UART found */
9698
90: mov \rp, #0

0 commit comments

Comments
 (0)