aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig.debug
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 23:39:26 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 14:13:03 -0500
commit9dae8afdf212d39bc7c25f1b1ca9b10f10f6beaa (patch)
tree12721945adf3a3fc01ba292e1756af4826a7eed3 /arch/powerpc/Kconfig.debug
parent69c0785112921a43739495a68f459fde88a9bbd8 (diff)
[POWERPC] 4xx: Add early udbg support for 40x processors
This adds some basic real mode based early udbg support for 40x in order to debug things more easily Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r--arch/powerpc/Kconfig.debug13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
index d20ccf5f2ca9..179a453f7e04 100644
--- a/arch/powerpc/Kconfig.debug
+++ b/arch/powerpc/Kconfig.debug
@@ -227,6 +227,14 @@ config PPC_EARLY_DEBUG_44x
227 Select this to enable early debugging for IBM 44x chips via the 227 Select this to enable early debugging for IBM 44x chips via the
228 inbuilt serial port. 228 inbuilt serial port.
229 229
230config PPC_EARLY_DEBUG_40x
231 bool "Early serial debugging for IBM/AMCC 40x CPUs"
232 depends on 40x
233 help
234 Select this to enable early debugging for IBM 40x chips via the
235 inbuilt serial port. This works on chips with a 16550 compatible
236 UART. Xilinx chips with uartlite cannot use this option.
237
230config PPC_EARLY_DEBUG_CPM 238config PPC_EARLY_DEBUG_CPM
231 bool "Early serial debugging for Freescale CPM-based serial ports" 239 bool "Early serial debugging for Freescale CPM-based serial ports"
232 depends on SERIAL_CPM 240 depends on SERIAL_CPM
@@ -248,6 +256,11 @@ config PPC_EARLY_DEBUG_44x_PHYSHIGH
248 depends on PPC_EARLY_DEBUG_44x 256 depends on PPC_EARLY_DEBUG_44x
249 default "0x1" 257 default "0x1"
250 258
259config PPC_EARLY_DEBUG_40x_PHYSADDR
260 hex "Early debug UART physical address"
261 depends on PPC_EARLY_DEBUG_40x
262 default "0xef600300"
263
251config PPC_EARLY_DEBUG_CPM_ADDR 264config PPC_EARLY_DEBUG_CPM_ADDR
252 hex "CPM UART early debug transmit descriptor address" 265 hex "CPM UART early debug transmit descriptor address"
253 depends on PPC_EARLY_DEBUG_CPM 266 depends on PPC_EARLY_DEBUG_CPM