diff options
author | Pawel Moll <pawel.moll@arm.com> | 2012-07-11 12:07:25 -0400 |
---|---|---|
committer | Pawel Moll <pawel.moll@arm.com> | 2012-07-13 06:48:29 -0400 |
commit | 1b820eaf42cde1df11d718909273611ee8e86ad0 (patch) | |
tree | 23696596fd8cc08cf47cee8b923b1677c3fed90f /arch/arm/Kconfig.debug | |
parent | 375faa93cbd8062317d17ddfa6d8fea75f3bbf9b (diff) |
ARM: vexpress: Config option for early printk console
Versatile Express platform can be used in different configurations,
the console UART used by early printk may be located at different
addresses in the address space.
This patch makes it possible to select the base address of a PL011
UART to be used as a console output in the kernel configuration.
The default behaviour is still the heuristic detecting memory map
on Cortex-A core tiles.
The zImage decompressor will use the same configuration values
or print out nothing if DEBUG_LL is not enabled.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 01a134141216..a03b5a7059e2 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -310,6 +310,32 @@ choice | |||
310 | The uncompressor code port configuration is now handled | 310 | The uncompressor code port configuration is now handled |
311 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | 311 | by CONFIG_S3C_LOWLEVEL_UART_PORT. |
312 | 312 | ||
313 | config DEBUG_VEXPRESS_UART0_DETECT | ||
314 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" | ||
315 | depends on ARCH_VEXPRESS && CPU_CP15_MMU | ||
316 | help | ||
317 | This option enables a simple heuristic which tries to determine | ||
318 | the motherboard's memory map variant (original or RS1) and then | ||
319 | choose the relevant UART0 base address. | ||
320 | |||
321 | Note that this will only work with standard A-class core tiles, | ||
322 | and may fail with non-standard SMM or custom software models. | ||
323 | |||
324 | config DEBUG_VEXPRESS_UART0_CA9 | ||
325 | bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)" | ||
326 | depends on ARCH_VEXPRESS | ||
327 | help | ||
328 | This option selects UART0 at 0x10009000. Except for custom models, | ||
329 | this applies only to the V2P-CA9 tile. | ||
330 | |||
331 | config DEBUG_VEXPRESS_UART0_RS1 | ||
332 | bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)" | ||
333 | depends on ARCH_VEXPRESS | ||
334 | help | ||
335 | This option selects UART0 at 0x1c090000. This applies to most | ||
336 | of the tiles using the RS1 memory map, including all new A-class | ||
337 | core tiles, FPGA-based SMMs and software models. | ||
338 | |||
313 | config DEBUG_LL_UART_NONE | 339 | config DEBUG_LL_UART_NONE |
314 | bool "No low-level debugging UART" | 340 | bool "No low-level debugging UART" |
315 | help | 341 | help |