From 5633796c090340238b025dff4b8107be8509a68b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 6 Aug 2005 01:21:19 +0200 Subject: Fix baudrate setting for KGDB on MPC8260 Patch by HoJin, 11 Dec 2004 --- CHANGELOG | 3 +++ cpu/mpc8260/serial_smc.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6c07db3..7b004c4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Fix baudrate setting for KGDB on MPC8260 + Patch by HoJin, 11 Dec 2004 + * Fix 'mii help' text formatting Patch by Cory Tusar, 10 Dec 2004 diff --git a/cpu/mpc8260/serial_smc.c b/cpu/mpc8260/serial_smc.c index 0873319..b486f83 100644 --- a/cpu/mpc8260/serial_smc.c +++ b/cpu/mpc8260/serial_smc.c @@ -360,10 +360,10 @@ kgdb_serial_init (void) /* Set up the baud rate generator. */ #if defined(CONFIG_KGDB_USE_EXTC) - m8260_cpm_extcbrg(KGDB_SMC_INDEX, speed, + m8260_cpm_extcbrg(brg_map[KGDB_SMC_INDEX], speed, CONFIG_KGDB_EXTC_RATE, CONFIG_KGDB_EXTC_PINSEL); #else - m8260_cpm_setbrg(KGDB_SMC_INDEX, speed); + m8260_cpm_setbrg(brg_map[KGDB_SMC_INDEX], speed); #endif /* Make the first buffer the only buffer. -- cgit v1.1