Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 4863/1: AT91: CAP9 USART definitions for early debug

Define AT91_USART0, 1, 2 so the selection of the UART for early kernel
messages works.
(See commit fa3218d8594869b38b1a170ea36d176ac455b897).

Replace AT91_SHDC with AT91_SHDWC to be consistent with other AT91 platforms.

Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Andrew Victor and committed by
Russell King
7d7971db c5215f32

+6 -1
+6 -1
include/asm-arm/arch-at91/at91cap9.h
··· 97 97 #define AT91_PIOD (0xfffff800 - AT91_BASE_SYS) 98 98 #define AT91_PMC (0xfffffc00 - AT91_BASE_SYS) 99 99 #define AT91_RSTC (0xfffffd00 - AT91_BASE_SYS) 100 - #define AT91_SHDC (0xfffffd10 - AT91_BASE_SYS) 100 + #define AT91_SHDWC (0xfffffd10 - AT91_BASE_SYS) 101 101 #define AT91_RTT (0xfffffd20 - AT91_BASE_SYS) 102 102 #define AT91_PIT (0xfffffd30 - AT91_BASE_SYS) 103 103 #define AT91_WDT (0xfffffd40 - AT91_BASE_SYS) 104 104 #define AT91_GPBR (0xfffffd50 - AT91_BASE_SYS) 105 + 106 + #define AT91_USART0 AT91CAP9_BASE_US0 107 + #define AT91_USART1 AT91CAP9_BASE_US1 108 + #define AT91_USART2 AT91CAP9_BASE_US2 109 + 105 110 106 111 /* 107 112 * Internal Memory.