014-debuguart.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. # Compatibility options for BCM63xx
  24. config DEBUG_UART_BCM63XX
  25. @@ -1124,6 +1124,7 @@ config DEBUG_UART_PHYS
  26. default 0x3e000000 if DEBUG_BCM_KONA_UART
  27. default 0x4000e400 if DEBUG_LL_UART_EFM32
  28. default 0x40090000 if ARCH_LPC32XX
  29. + default 0x400dc000 if ARCH_MCS814X
  30. default 0x40100000 if DEBUG_PXA_UART1
  31. default 0x42000000 if ARCH_GEMINI
  32. default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
  33. @@ -1178,6 +1179,7 @@ config DEBUG_UART_VIRT
  34. default 0xe0010fe0 if ARCH_RPC
  35. default 0xe1000000 if DEBUG_MSM_UART
  36. default 0xf0000be0 if ARCH_EBSA110
  37. + default 0xf00dc000 if ARCH_MCS814X
  38. default 0xf01fb000 if DEBUG_NOMADIK_UART
  39. default 0xf0201000 if DEBUG_BCM2835
  40. default 0xf1000300 if DEBUG_BCM_5301X