浏览代码

[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>
Mike Frysinger 18 年之前
父节点
当前提交
d677b32855
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/nand.h

+ 1 - 0
include/nand.h

@@ -32,6 +32,7 @@ typedef struct mtd_info nand_info_t;
 
 
 extern int nand_curr_device;
 extern int nand_curr_device;
 extern nand_info_t nand_info[];
 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)
 static inline int nand_read(nand_info_t *info, ulong ofs, ulong *len, u_char *buf)
 {
 {