diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-05-07 22:59:31 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-08 00:47:33 -0400 |
commit | d9b55a03611ff2e2e54fb4e1ad2648d5eb870fa3 (patch) | |
tree | 5704be539afcd6f29b1f5751476c8b4f53673bff /arch/powerpc/Kconfig.debug | |
parent | f6dfc80554b27da11dbb36ebae166b23ec3aa9ca (diff) |
[POWERPC] Early serial debug support for PPC44x
This adds support for early serial debugging via the built in
port on IBM/AMCC PowerPC 44x CPUs. It uses a bolted TLB entry in
address space 1 for the UART's mapping, allowing robust debugging both
before and after the initialization of the MMU.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 86aa3745af7f..f70e795c262e 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -139,10 +139,6 @@ config BOOTX_TEXT | |||
139 | Say Y here to see progress messages from the boot firmware in text | 139 | Say Y here to see progress messages from the boot firmware in text |
140 | mode. Requires either BootX or Open Firmware. | 140 | mode. Requires either BootX or Open Firmware. |
141 | 141 | ||
142 | config SERIAL_TEXT_DEBUG | ||
143 | bool "Support for early boot texts over serial port" | ||
144 | depends on 4xx | ||
145 | |||
146 | config PPC_EARLY_DEBUG | 142 | config PPC_EARLY_DEBUG |
147 | bool "Early debugging (dangerous)" | 143 | bool "Early debugging (dangerous)" |
148 | 144 | ||
@@ -207,6 +203,24 @@ config PPC_EARLY_DEBUG_BEAT | |||
207 | help | 203 | help |
208 | Select this to enable early debugging for Celleb with Beat. | 204 | Select this to enable early debugging for Celleb with Beat. |
209 | 205 | ||
206 | config PPC_EARLY_DEBUG_44x | ||
207 | bool "Early serial debugging for IBM/AMCC 44x CPUs" | ||
208 | depends on 44x | ||
209 | select PPC_UDBG_16550 | ||
210 | help | ||
211 | Select this to enable early debugging for IBM 44x chips via the | ||
212 | inbuilt serial port. | ||
213 | |||
210 | endchoice | 214 | endchoice |
211 | 215 | ||
216 | config PPC_EARLY_DEBUG_44x_PHYSLOW | ||
217 | hex "Low 32 bits of early debug UART physical address" | ||
218 | depends PPC_EARLY_DEBUG_44x | ||
219 | default "0x40000200" | ||
220 | |||
221 | config PPC_EARLY_DEBUG_44x_PHYSHIGH | ||
222 | hex "EPRN of early debug UART physical address" | ||
223 | depends PPC_EARLY_DEBUG_44x | ||
224 | default "0x1" | ||
225 | |||
212 | endmenu | 226 | endmenu |