From d0fb80c3021e15853895e9ae45ab9368d0fb52fa Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 11 Jan 2003 09:48:40 +0000 Subject: * Restrict baudrate settings on LWMON to higher speeds when watchdog is on * Update baudrate in bd_info when it gets changed * Add watchdog trigger points while waiting for serial port (so far only 8xx -- needed on LWMON with 100ms watchdog) * Improve command line tool to access the U-Boot's environment (figuration of the utility, using a config file) --- common/cmd_nvedit.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/cmd_nvedit.c') diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 9b6d14fe2..c404157ac 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -232,6 +232,10 @@ int _do_setenv (int flag, int argc, char *argv[]) baudrate); udelay(50000); gd->baudrate = baudrate; +#ifdef CONFIG_PPC + gd->bd->bi_baudrate = baudrate; +#endif + serial_setbrg (); udelay(50000); for (;;) { -- cgit v1.2.3