diff options
author | Joe.C <yingjoe.chen@mediatek.com> | 2014-11-04 02:30:54 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2014-11-14 07:44:57 -0500 |
commit | 65ec48c0c784bc8f4a0794ab2a7f3674affeb747 (patch) | |
tree | 647a3052189802c00fc71971b52e806f650791af | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
ARM: mediatek: Add earlyprintk support for mt8127 & mt8135
Enable low-level debug for Mediatek mt8127 & mt8135 SoC.
Signed-off-by: Joe.C <yingjoe.chen@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm/Kconfig.debug | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 03dc4c1a8736..7d78ed749525 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -866,6 +866,22 @@ choice | |||
866 | Say Y here if you want kernel low-level debugging support | 866 | Say Y here if you want kernel low-level debugging support |
867 | for Mediatek mt6589 based platforms on UART0. | 867 | for Mediatek mt6589 based platforms on UART0. |
868 | 868 | ||
869 | config DEBUG_MT8127_UART0 | ||
870 | bool "Mediatek mt8127 UART0" | ||
871 | depends on ARCH_MEDIATEK | ||
872 | select DEBUG_UART_8250 | ||
873 | help | ||
874 | Say Y here if you want kernel low-level debugging support | ||
875 | for Mediatek mt8127 based platforms on UART0. | ||
876 | |||
877 | config DEBUG_MT8135_UART3 | ||
878 | bool "Mediatek mt8135 UART3" | ||
879 | depends on ARCH_MEDIATEK | ||
880 | select DEBUG_UART_8250 | ||
881 | help | ||
882 | Say Y here if you want kernel low-level debugging support | ||
883 | for Mediatek mt8135 based platforms on UART3. | ||
884 | |||
869 | config DEBUG_VEXPRESS_UART0_DETECT | 885 | config DEBUG_VEXPRESS_UART0_DETECT |
870 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" | 886 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" |
871 | depends on ARCH_VEXPRESS && CPU_CP15_MMU | 887 | depends on ARCH_VEXPRESS && CPU_CP15_MMU |
@@ -1113,7 +1129,9 @@ config DEBUG_UART_PHYS | |||
1113 | default 0x10126000 if DEBUG_RK3X_UART1 | 1129 | default 0x10126000 if DEBUG_RK3X_UART1 |
1114 | default 0x101f1000 if ARCH_VERSATILE | 1130 | default 0x101f1000 if ARCH_VERSATILE |
1115 | default 0x101fb000 if DEBUG_NOMADIK_UART | 1131 | default 0x101fb000 if DEBUG_NOMADIK_UART |
1132 | default 0x11002000 if DEBUG_MT8127_UART0 | ||
1116 | default 0x11006000 if DEBUG_MT6589_UART0 | 1133 | default 0x11006000 if DEBUG_MT6589_UART0 |
1134 | default 0x11009000 if DEBUG_MT8135_UART3 | ||
1117 | default 0x16000000 if ARCH_INTEGRATOR | 1135 | default 0x16000000 if ARCH_INTEGRATOR |
1118 | default 0x18000300 if DEBUG_BCM_5301X | 1136 | default 0x18000300 if DEBUG_BCM_5301X |
1119 | default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 | 1137 | default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 |
@@ -1181,7 +1199,9 @@ config DEBUG_UART_VIRT | |||
1181 | default 0xf01fb000 if DEBUG_NOMADIK_UART | 1199 | default 0xf01fb000 if DEBUG_NOMADIK_UART |
1182 | default 0xf0201000 if DEBUG_BCM2835 | 1200 | default 0xf0201000 if DEBUG_BCM2835 |
1183 | default 0xf1000300 if DEBUG_BCM_5301X | 1201 | default 0xf1000300 if DEBUG_BCM_5301X |
1202 | default 0xf1002000 if DEBUG_MT8127_UART0 | ||
1184 | default 0xf1006000 if DEBUG_MT6589_UART0 | 1203 | default 0xf1006000 if DEBUG_MT6589_UART0 |
1204 | default 0xf1009000 if DEBUG_MT8135_UART3 | ||
1185 | default 0xf11f1000 if ARCH_VERSATILE | 1205 | default 0xf11f1000 if ARCH_VERSATILE |
1186 | default 0xf1600000 if ARCH_INTEGRATOR | 1206 | default 0xf1600000 if ARCH_INTEGRATOR |
1187 | default 0xf1c28000 if DEBUG_SUNXI_UART0 | 1207 | default 0xf1c28000 if DEBUG_SUNXI_UART0 |