oxnas: add Default profile and reorganize device profiles
[openwrt.git] / target / linux / mcs814x / patches-3.18 / 014-debuguart.patch
1 --- a/arch/arm/mach-mcs814x/include/mach/debug-macro.S
2 +++ /dev/null
3 @@ -1,11 +0,0 @@
4 -#include <mach/mcs814x.h>
5 -
6 -                .macro  addruart, rp, rv, tmp
7 -               ldr     \rp, =MCS814X_PHYS_BASE
8 -               ldr     \rv, =MCS814X_VIRT_BASE
9 -               orr     \rp, \rp, #MCS814X_UART
10 -               orr     \rv, \rv, #MCS814X_UART
11 -                .endm
12 -
13 -#define UART_SHIFT     2
14 -#include <asm/hardware/debug-8250.S>
15 --- a/arch/arm/Kconfig.debug
16 +++ b/arch/arm/Kconfig.debug
17 @@ -1089,7 +1089,7 @@ config DEBUG_UART_8250
18                 (FOOTBRIDGE && !DEBUG_DC21285_PORT) || \
19                 ARCH_GEMINI || ARCH_IOP13XX || ARCH_IOP32X || \
20                 ARCH_IOP33X || ARCH_IXP4XX || \
21 -               ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
22 +               ARCH_LPC32XX || ARCH_MCS814X || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
23  
24  # Compatibility options for BCM63xx
25  config DEBUG_UART_BCM63XX
26 @@ -1124,6 +1124,7 @@ config DEBUG_UART_PHYS
27         default 0x3e000000 if DEBUG_BCM_KONA_UART
28         default 0x4000e400 if DEBUG_LL_UART_EFM32
29         default 0x40090000 if ARCH_LPC32XX
30 +       default 0x400dc000 if ARCH_MCS814X
31         default 0x40100000 if DEBUG_PXA_UART1
32         default 0x42000000 if ARCH_GEMINI
33         default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
34 @@ -1178,6 +1179,7 @@ config DEBUG_UART_VIRT
35         default 0xe0010fe0 if ARCH_RPC
36         default 0xe1000000 if DEBUG_MSM_UART
37         default 0xf0000be0 if ARCH_EBSA110
38 +       default 0xf00dc000 if ARCH_MCS814X
39         default 0xf01fb000 if DEBUG_NOMADIK_UART
40         default 0xf0201000 if DEBUG_BCM2835
41         default 0xf1000300 if DEBUG_BCM_5301X