Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340124
b: refs/heads/master
c: aa25115
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Roese authored and Maxime Ripard committed Nov 20, 2012
1 parent 92b1e6a commit 7e7bbba
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de0bf33fc2b0b1d4b1419adf645fb36e9e52781a
refs/heads/master: aa25115aff14a149a6b611fe54776c142e483781
9 changes: 8 additions & 1 deletion trunk/arch/arm/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,13 @@ choice
Say Y here if you want kernel low-level debugging support
on SOCFPGA based platforms.

config DEBUG_SUNXI_UART0
bool "Kernel low-level debugging messages via sunXi UART0"
depends on ARCH_SUNXI
help
Say Y here if you want kernel low-level debugging support
on Allwinner A1X based platforms on the UART0.

config DEBUG_SUNXI_UART1
bool "Kernel low-level debugging messages via sunXi UART1"
depends on ARCH_SUNXI
Expand Down Expand Up @@ -423,7 +430,7 @@ config DEBUG_LL_INCLUDE
default "debug/mvebu.S" if DEBUG_MVEBU_UART
default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART
default "debug/socfpga.S" if DEBUG_SOCFPGA_UART
default "debug/sunxi.S" if DEBUG_SUNXI_UART1
default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1
default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \
DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1
default "mach/debug-macro.S"
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/arm/include/debug/sunxi.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
* published by the Free Software Foundation.
*/

#ifdef CONFIG_DEBUG_SUNXI_UART1
#if defined(CONFIG_DEBUG_SUNXI_UART0)
#define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28000
#define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28000
#elif defined(CONFIG_DEBUG_SUNXI_UART1)
#define SUNXI_UART_DEBUG_PHYS_BASE 0x01c28400
#define SUNXI_UART_DEBUG_VIRT_BASE 0xf1c28400
#endif
Expand Down

0 comments on commit 7e7bbba

Please sign in to comment.