]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7793/1: debug: use generic option for ep93xx PL10x debug port
authorHartley Sweeten <hartleys@visionengravers.com>
Fri, 26 Jul 2013 17:28:27 +0000 (18:28 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 15 Aug 2013 15:42:37 +0000 (16:42 +0100)
commite6048c69eb1ba3e0a0f473307e0d691a0d986c6f
treea7d203599a62347e06949e93c5d24b26a185f1b0
parenta4911b63811f7b98c9c07ad575909c62cda9da8c
ARM: 7793/1: debug: use generic option for ep93xx PL10x debug port

The generic option DEBUG_LL_UART_PL01X is now used to select the UART
type for the kernel low-level debugging on the ep93xx platform. This
enables two config options to provide the physical and virtual base
address of the debug UART.

Use the generic options instead of providing platform specific options
to select the debug UART.

UART1 is selected with:  DEBUG_UART_PHYS = 0x808c0000
                         DEBUG_UART_VIRT = 0xfedc0000

UART2 is selected with:  DEBUG_UART_PHYS = 0x808d0000
                         DEBUG_UART_VIRT = 0xfedd0000

UART3 is selected with:  DEBUG_UART_PHYS = 0x808e0000
                         DEBUG_UART_VIRT = 0xfede0000

The selected UART must already be initialized by the bootloader. If it
isn't setup nothing will appear (which might be desired).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/Kconfig
arch/arm/mach-ep93xx/include/mach/uncompress.h