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

ARM: 8270/1: ks8695: Migrate debug_ll macros to shared directory

As part of the migration a couple of uart definitions have been copied
from of the platform specific header files.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Daniel Thompson and committed by
Russell King
abbfb21e 6f519455

+15 -3
+8
arch/arm/Kconfig.debug
··· 397 397 Say Y here if you want the debug print routines to direct 398 398 their output to UART1 serial port on KEYSTONE2 devices. 399 399 400 + config DEBUG_KS8695_UART 401 + bool "KS8695 Debug UART" 402 + depends on ARCH_KS8695 403 + help 404 + Say Y here if you want kernel low-level debugging support 405 + on KS8695. 406 + 400 407 config DEBUG_MESON_UARTAO 401 408 bool "Kernel low-level debugging via Meson6 UARTAO" 402 409 depends on ARCH_MESON ··· 1181 1174 DEBUG_IMX6Q_UART || \ 1182 1175 DEBUG_IMX6SL_UART || \ 1183 1176 DEBUG_IMX6SX_UART 1177 + default "debug/ks8695.S" if DEBUG_KS8695_UART 1184 1178 default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM 1185 1179 default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART 1186 1180 default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
+7 -3
arch/arm/mach-ks8695/include/mach/debug-macro.S arch/arm/include/debug/ks8695.S
··· 1 1 /* 2 - * arch/arm/mach-ks8695/include/mach/debug-macro.S 2 + * arch/arm/include/debug/ks8695.S 3 3 * 4 4 * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk> 5 5 * Copyright (C) 2006 Simtec Electronics ··· 11 11 * published by the Free Software Foundation. 12 12 */ 13 13 14 - #include <mach/hardware.h> 15 - #include <mach/regs-uart.h> 14 + #define KS8695_UART_PA 0x03ffe000 15 + #define KS8695_UART_VA 0xf00fe000 16 + #define KS8695_URTH (0x04) 17 + #define KS8695_URLS (0x14) 18 + #define URLS_URTE (1 << 6) 19 + #define URLS_URTHRE (1 << 5) 16 20 17 21 .macro addruart, rp, rv, tmp 18 22 ldr \rp, =KS8695_UART_PA @ physical base address