diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2008-11-19 16:32:36 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-11-19 20:34:39 +0100 |
commit | 7e6ee7ad27de5216db1baef76f38c3429c8f4a2a (patch) | |
tree | fe2108d4ddfea1d8054eefe57740b68036f70644 /include/exports.h | |
parent | c91a719daa331b5856109313371e4ece5ec06d96 (diff) | |
download | u-boot-imx-7e6ee7ad27de5216db1baef76f38c3429c8f4a2a.zip u-boot-imx-7e6ee7ad27de5216db1baef76f38c3429c8f4a2a.tar.gz u-boot-imx-7e6ee7ad27de5216db1baef76f38c3429c8f4a2a.tar.bz2 |
UBI: Add basic UBI support to U-Boot (Part 6/8)
This patch adds basic UBI (Unsorted Block Image) support to U-Boot.
It's based on the Linux UBI version and basically has a "OS"
translation wrapper that defines most Linux specific calls
(spin_lock() etc.) into no-ops. Some source code parts have been
uncommented by "#ifdef UBI_LINUX". This makes it easier to compare
this version with the Linux version and simplifies future UBI
ports/bug-fixes from the Linux version.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/exports.h')
-rw-r--r-- | include/exports.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exports.h b/include/exports.h index 6377875..0620e9e 100644 --- a/include/exports.h +++ b/include/exports.h @@ -25,6 +25,7 @@ char *getenv (char *name); int setenv (char *varname, char *varvalue); long simple_strtol(const char *cp,char **endp,unsigned int base); int strcmp(const char * cs,const char * ct); +int ustrtoul(const char *cp, char **endp, unsigned int base); #ifdef CONFIG_HAS_UID void forceenv (char *varname, char *varvalue); #endif |