summaryrefslogtreecommitdiff
path: root/lib_blackfin/board.c
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-01-25 14:42:11 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-01-25 14:42:11 +0900
commited44387f406ca0e695609270a1282e699111a945 (patch)
tree6660c48863ede9c5f0207afce4b0ad93378076a8 /lib_blackfin/board.c
parent2fba7a08770586b342db367750a8447f21882d9a (diff)
parent790af6ed08cc3675267191eb60403bd4f0d9a03c (diff)
downloadu-boot-imx-ed44387f406ca0e695609270a1282e699111a945.zip
u-boot-imx-ed44387f406ca0e695609270a1282e699111a945.tar.gz
u-boot-imx-ed44387f406ca0e695609270a1282e699111a945.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'lib_blackfin/board.c')
-rw-r--r--lib_blackfin/board.c6
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);