summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
-rw-r--r--include/env.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 91b1fae..287a0c5 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5,6 +5,7 @@
#define CONFIG_ENV_OFFSET 0
#define CONFIG_ENVVAR_MAX 20
+#define CONFIG_POWRON_DELAY 2000 /* ms to wait after power on */
#define CONFIG_BOOTDELAY 4
//#define CONFIG_ZERO_BOOTDELAY_CHECK 1
@@ -16,7 +17,7 @@
#define CONFIG_SYS_I2C_RTC_ADDR 0x50
#define CONFIG_SYS_I2C_BUFSIZE 64
-#define CONFIG_SYS_I2C_CLOCK 100000L /* 100kHz */
+#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
#define CONFIG_SYS_CBSIZE 250
#define CONFIG_SYS_ENV_NAMELEN 16
diff --git a/include/env.h b/include/env.h
index 9d55273..0a12821 100644
--- a/include/env.h
+++ b/include/env.h
@@ -4,7 +4,11 @@
int env_init(void);
char *getenv(const char *name);
+unsigned long getenv_ulong(const char *name, int base, unsigned long default_val);
+
+#if defined(CONFIG_AUTO_COMPLETE)
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
+#endif
#endif /* ENV_H */