onenand_spl_simple: Add a simple OneNAND read function
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
This commit is contained in:
@@ -49,6 +49,7 @@ extern int flexonenand_set_boundary(struct mtd_info *mtd, int die,
|
||||
int boundary, int lock);
|
||||
|
||||
/* SPL */
|
||||
int onenand_spl_read_block(int block, int offset, int len, void *dst);
|
||||
void onenand_spl_load_image(uint32_t offs, uint32_t size, void *dst);
|
||||
|
||||
#endif /* __UBOOT_ONENAND_H */
|
||||
|
Reference in New Issue
Block a user