aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2014-08-18 10:58:00 -0400
committerOlof Johansson <olof@lixom.net>2014-09-24 14:13:55 -0400
commitd66820853251e8a9b53125a95a773e482cd79136 (patch)
tree9e90c4089f7aab6ae34656e28ea094fdb6475e00
parent1aafa57340c6d906a285d7823e0fe68696c1ae07 (diff)
ARM: mediatek: Add earlyprintk support for mt6589
Enable low-level debug for Mediatek mt6589 SoC on UART0. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index c887b113750a..eb3913fd07e7 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -842,6 +842,14 @@ choice
842 Say Y here if you want kernel low-level debugging support 842 Say Y here if you want kernel low-level debugging support
843 on Ux500 based platforms. 843 on Ux500 based platforms.
844 844
845 config DEBUG_MT6589_UART0
846 bool "Mediatek mt6589 UART0"
847 depends on ARCH_MEDIATEK
848 select DEBUG_UART_8250
849 help
850 Say Y here if you want kernel low-level debugging support
851 for Mediatek mt6589 based platforms on UART0.
852
845 config DEBUG_VEXPRESS_UART0_DETECT 853 config DEBUG_VEXPRESS_UART0_DETECT
846 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" 854 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
847 depends on ARCH_VEXPRESS && CPU_CP15_MMU 855 depends on ARCH_VEXPRESS && CPU_CP15_MMU
@@ -1083,6 +1091,7 @@ config DEBUG_UART_PHYS
1083 default 0x10126000 if DEBUG_RK3X_UART1 1091 default 0x10126000 if DEBUG_RK3X_UART1
1084 default 0x101f1000 if ARCH_VERSATILE 1092 default 0x101f1000 if ARCH_VERSATILE
1085 default 0x101fb000 if DEBUG_NOMADIK_UART 1093 default 0x101fb000 if DEBUG_NOMADIK_UART
1094 default 0x11006000 if DEBUG_MT6589_UART0
1086 default 0x16000000 if ARCH_INTEGRATOR 1095 default 0x16000000 if ARCH_INTEGRATOR
1087 default 0x18000300 if DEBUG_BCM_5301X 1096 default 0x18000300 if DEBUG_BCM_5301X
1088 default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 1097 default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
@@ -1146,6 +1155,7 @@ config DEBUG_UART_VIRT
1146 default 0xf01fb000 if DEBUG_NOMADIK_UART 1155 default 0xf01fb000 if DEBUG_NOMADIK_UART
1147 default 0xf0201000 if DEBUG_BCM2835 1156 default 0xf0201000 if DEBUG_BCM2835
1148 default 0xf1000300 if DEBUG_BCM_5301X 1157 default 0xf1000300 if DEBUG_BCM_5301X
1158 default 0xf1006000 if DEBUG_MT6589_UART0
1149 default 0xf11f1000 if ARCH_VERSATILE 1159 default 0xf11f1000 if ARCH_VERSATILE
1150 default 0xf1600000 if ARCH_INTEGRATOR 1160 default 0xf1600000 if ARCH_INTEGRATOR
1151 default 0xf1c28000 if DEBUG_SUNXI_UART0 1161 default 0xf1c28000 if DEBUG_SUNXI_UART0