aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig.debug8
-rw-r--r--arch/arm/include/debug/picoxcell.S (renamed from arch/arm/mach-picoxcell/include/mach/debug-macro.S)4
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index aa56934cd284..b74ed971868d 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -268,6 +268,13 @@ choice
268 Say Y here if you want kernel low-level debugging support 268 Say Y here if you want kernel low-level debugging support
269 on MVEBU based platforms. 269 on MVEBU based platforms.
270 270
271 config DEBUG_PICOXCELL_UART
272 depends on ARCH_PICOXCELL
273 bool "Use PicoXcell UART for low-level debug"
274 help
275 Say Y here if you want kernel low-level debugging support
276 on PicoXcell based platforms.
277
271 config DEBUG_REALVIEW_STD_PORT 278 config DEBUG_REALVIEW_STD_PORT
272 bool "RealView Default UART" 279 bool "RealView Default UART"
273 depends on ARCH_REALVIEW 280 depends on ARCH_REALVIEW
@@ -392,6 +399,7 @@ config DEBUG_LL_INCLUDE
392 default "debug/icedcc.S" if DEBUG_ICEDCC 399 default "debug/icedcc.S" if DEBUG_ICEDCC
393 default "debug/highbank.S" if DEBUG_HIGHBANK_UART 400 default "debug/highbank.S" if DEBUG_HIGHBANK_UART
394 default "debug/mvebu.S" if DEBUG_MVEBU_UART 401 default "debug/mvebu.S" if DEBUG_MVEBU_UART
402 default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART
395 default "debug/socfpga.S" if DEBUG_SOCFPGA_UART 403 default "debug/socfpga.S" if DEBUG_SOCFPGA_UART
396 default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ 404 default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \
397 DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 405 DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1
diff --git a/arch/arm/mach-picoxcell/include/mach/debug-macro.S b/arch/arm/include/debug/picoxcell.S
index 58d4ee3ae949..7419deb1b948 100644
--- a/arch/arm/mach-picoxcell/include/mach/debug-macro.S
+++ b/arch/arm/include/debug/picoxcell.S
@@ -9,10 +9,10 @@
9 * accesses to the 8250. 9 * accesses to the 8250.
10 */ 10 */
11#include <linux/serial_reg.h> 11#include <linux/serial_reg.h>
12#include <mach/hardware.h>
13#include <mach/map.h>
14 12
15#define UART_SHIFT 2 13#define UART_SHIFT 2
14#define PICOXCELL_UART1_BASE 0x80230000
15#define PHYS_TO_IO(x) (((x) & 0x00ffffff) | 0xfe000000)
16 16
17 .macro addruart, rp, rv, tmp 17 .macro addruart, rp, rv, tmp
18 ldr \rv, =PHYS_TO_IO(PICOXCELL_UART1_BASE) 18 ldr \rv, =PHYS_TO_IO(PICOXCELL_UART1_BASE)