[U-Boot] [PATCH v2 1/4] [ARM] Add KGDB support for ARM platforms

Tonny Tzeng tonny.tzeng at gmail.com
Sat Apr 17 20:12:59 CEST 2010


Signed-off-by: Tonny Tzeng <tonny.tzeng at gmail.com>
---
 arch/arm/lib/board.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index f5660a9..f2b028c 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -381,6 +381,10 @@ void start_armboot (void)
 	/* miscellaneous platform dependent initialisations */
 	misc_init_r ();
 #endif
+#if defined(CONFIG_CMD_KGDB)
+	puts("KGDB:  ");
+	kgdb_init();
+#endif
 
 	/* enable exceptions */
 	enable_interrupts ();
-- 
1.6.0.6




More information about the U-Boot mailing list