diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-22 10:34:12 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-06-22 10:34:12 +0200 |
commit | d677b32855f577ae2690dcd64a172cdd706e0ffc (patch) | |
tree | 932980166202bb93baeaacb55800eb2cf808ff9d /include/nand.h | |
parent | e08e6453fced498b28950f36088c87c0b639a682 (diff) | |
download | bootable_bootloader_goldelico_gta04-d677b32855f577ae2690dcd64a172cdd706e0ffc.zip bootable_bootloader_goldelico_gta04-d677b32855f577ae2690dcd64a172cdd706e0ffc.tar.gz bootable_bootloader_goldelico_gta04-d677b32855f577ae2690dcd64a172cdd706e0ffc.tar.bz2 |
[patch] add nand_init() prototype to nand.h
since nand_init() is expected to be called by other parts of u-boot, there
should be a prototype for it in nand.h
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/nand.h')
-rw-r--r-- | include/nand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nand.h b/include/nand.h index 23493f7..3c0752e 100644 --- a/include/nand.h +++ b/include/nand.h @@ -32,6 +32,7 @@ typedef struct mtd_info nand_info_t; extern int nand_curr_device; extern nand_info_t nand_info[]; +extern void nand_init(void); static inline int nand_read(nand_info_t *info, ulong ofs, ulong *len, u_char *buf) { |