summaryrefslogtreecommitdiff
path: root/include/configs/lwmon.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-01-11 09:48:40 +0000
committerwdenk <wdenk>2003-01-11 09:48:40 +0000
commitd0fb80c3021e15853895e9ae45ab9368d0fb52fa (patch)
treea4e65529732e8058b15a0cef175f65312ec3eedd /include/configs/lwmon.h
parenta25f862ba8b9d8440973d0204c19fec859f953f3 (diff)
* 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)
Diffstat (limited to 'include/configs/lwmon.h')
-rw-r--r--include/configs/lwmon.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/lwmon.h b/include/configs/lwmon.h
index dc0099de4..66c79356f 100644
--- a/include/configs/lwmon.h
+++ b/include/configs/lwmon.h
@@ -203,7 +203,14 @@
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
-#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
+/*
+ * When the watchdog is enabled, output must be fast enough in Linux.
+ */
+#ifdef CONFIG_WATCHDOG
+#define CFG_BAUDRATE_TABLE { 38400, 57600, 115200 }
+#else
+#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
+#endif
/*
* Low Level Configuration Settings