summaryrefslogtreecommitdiff
path: root/tools/env/fw_env.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 /tools/env/fw_env.h
parenta25f862ba8b9d8440973d0204c19fec859f953f3 (diff)
downloadu-boot-imx-d0fb80c3021e15853895e9ae45ab9368d0fb52fa.zip
u-boot-imx-d0fb80c3021e15853895e9ae45ab9368d0fb52fa.tar.gz
u-boot-imx-d0fb80c3021e15853895e9ae45ab9368d0fb52fa.tar.bz2
* 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 'tools/env/fw_env.h')
-rw-r--r--tools/env/fw_env.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
index d98edc9..7d7be04 100644
--- a/tools/env/fw_env.h
+++ b/tools/env/fw_env.h
@@ -21,11 +21,21 @@
* MA 02111-1307 USA
*/
+/*
+ * To build the utility with the run-time configuration
+ * uncomment the next line.
+ * See included "fw_env.config" sample file (TRAB board)
+ * for notes on configuration.
+ */
+/*#define CONFIG_FILE "/etc/fw_env.config" */
+
#define HAVE_REDUND /* For systems with 2 env sectors */
#define DEVICE1_NAME "/dev/mtd1"
#define DEVICE2_NAME "/dev/mtd2"
+#define DEVICE1_OFFSET 0x0000
#define ENV1_SIZE 0x4000
#define DEVICE1_ESIZE 0x4000
+#define DEVICE2_OFFSET 0x0000
#define ENV2_SIZE 0x4000
#define DEVICE2_ESIZE 0x4000