projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e08e645
)
[patch] add nand_init() prototype to nand.h
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 22 Jun 2007 08:34:12 +0000
(10:34 +0200)
committer
Stefan Roese
<sr@denx.de>
Fri, 22 Jun 2007 08:34:12 +0000
(10:34 +0200)
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>
include/nand.h
patch
|
blob
|
history
diff --git
a/include/nand.h
b/include/nand.h
index 23493f7e9841122d683d074445ecb98348ca17b4..3c0752ea12add98ca4c67e736b09434ea684fc78 100644
(file)
--- 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)
{