diff options
author | Robin Getz <robin.getz@analog.com> | 2009-12-21 16:35:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-17 20:36:09 -0500 |
commit | f19fd87e9387282b5abbfdafe46ac272320643d8 (patch) | |
tree | 853df8844855d7025a271f01abb45eb4d1c24fa1 /lib_blackfin/board.c | |
parent | 3869453f659c22396fecb7c8ed7af909e89f461c (diff) | |
download | u-boot-imx-f19fd87e9387282b5abbfdafe46ac272320643d8.zip u-boot-imx-f19fd87e9387282b5abbfdafe46ac272320643d8.tar.gz u-boot-imx-f19fd87e9387282b5abbfdafe46ac272320643d8.tar.bz2 |
Blackfin: add support for kgdb
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin/board.c')
-rw-r--r-- | lib_blackfin/board.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c index 90da2b4..21fff33 100644 --- a/lib_blackfin/board.c +++ b/lib_blackfin/board.c @@ -22,6 +22,7 @@ #include <asm/cplb.h> #include <asm/mach-common/bits/mpu.h> +#include <kgdb.h> #ifdef CONFIG_CMD_NAND #include <nand.h> /* cannot even include nand.h if it isnt configured */ @@ -356,6 +357,11 @@ void board_init_r(gd_t * id, ulong dest_addr) /* Initialize the console (after the relocation and devices init) */ console_init_r(); +#ifdef CONFIG_CMD_KGDB + puts("KGDB: "); + kgdb_init(); +#endif + #ifdef CONFIG_STATUS_LED status_led_set(STATUS_LED_BOOT, STATUS_LED_BLINKING); status_led_set(STATUS_LED_CRASH, STATUS_LED_OFF); |