summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@pollux.denx.de>2006-09-01 15:00:02 +0200
committerDetlev Zundel <dzu@pollux.denx.de>2006-09-01 15:00:02 +0200
commitd7c2a02dea550e8701d1151010a823df48ad5c98 (patch)
tree52636e155d9e570f13167d797c3fdc8700e5b75f /include
parent43835aac4803d459dd73fabce09b27a826a381d7 (diff)
downloadu-boot-imx-d7c2a02dea550e8701d1151010a823df48ad5c98.zip
u-boot-imx-d7c2a02dea550e8701d1151010a823df48ad5c98.tar.gz
u-boot-imx-d7c2a02dea550e8701d1151010a823df48ad5c98.tar.bz2
Added simple_strtoul(), getenv() and setenv() to the exported functions.
Also bumped up ABI version to reflect this change.
Diffstat (limited to 'include')
-rw-r--r--include/_exports.h3
-rw-r--r--include/exports.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/include/_exports.h b/include/_exports.h
index 61dcaaf..2b8ec3d 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -12,6 +12,9 @@ EXPORT_FUNC(udelay)
EXPORT_FUNC(get_timer)
EXPORT_FUNC(vprintf)
EXPORT_FUNC(do_reset)
+EXPORT_FUNC(getenv)
+EXPORT_FUNC(setenv)
+EXPORT_FUNC(simple_strtoul)
#if (CONFIG_COMMANDS & CFG_CMD_I2C)
EXPORT_FUNC(i2c_write)
EXPORT_FUNC(i2c_read)
diff --git a/include/exports.h b/include/exports.h
index 0eaf66e..8f7f617 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -20,6 +20,9 @@ void udelay(unsigned long);
unsigned long get_timer(unsigned long);
void vprintf(const char *, va_list);
void do_reset (void);
+unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
+char *getenv (char *name);
+void setenv (char *varname, char *varvalue);
#if (CONFIG_COMMANDS & CFG_CMD_I2C)
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
@@ -37,7 +40,7 @@ enum {
XF_MAX
};
-#define XF_VERSION 2
+#define XF_VERSION 3
#if defined(CONFIG_I386)
extern gd_t *global_data;