diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-01 02:06:34 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-10-26 21:23:12 (GMT) |
commit | 51b17d494656c6c0db230e0a5ba9c733a96309bf (patch) | |
tree | d785856aff88ab3f00ba39a6e0e30a09d707309e /arch/arm/Kconfig | |
parent | 93456512005081d667811a223b8022c013d4d2d7 (diff) | |
download | u-boot-51b17d494656c6c0db230e0a5ba9c733a96309bf.tar.xz |
arm: debug: add Kconfig entries for lowlevel debug
We have not had a good method to debug the early boot stage such as
lowlevel_init function. I guess developers generally use dedicated
debuggers for that, but it is difficult in some cases.
(For example, my debugger cannot connect to the ARM processor when
it is in the secure state. It sometimes happens when I need to
debug the early boot stage on ARM SoCs with secure extension.)
The low level debug feature in Linux would be also helpful for U-boot
when we are stucking in nasty problems where the console is not
available yet.
You have to enable CONFIG_DEBUG_LL to use this feature.
For now, only 8250-compatible UART devices are supported.
You can add a header file under arch/arm/include/debug/ directory
to support your UART device if necessary.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 109d49f..8d05bb9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -707,4 +707,6 @@ source "board/woodburn/Kconfig" source "board/xaeniax/Kconfig" source "board/zipitz2/Kconfig" +source "arch/arm/Kconfig.debug" + endmenu |