diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-07-12 20:28:11 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 09:53:00 -0400 |
commit | 735717d18a012a6f34c74dd98cec8f46bac5c51c (patch) | |
tree | 7383563104570e92312cb0119e2d40fbf6d2f015 /include/onenand_uboot.h | |
parent | e1a89e9358b8cedd98ad346cccd08e1bca669072 (diff) |
onenand_spl_simple: Add a simple OneNAND read function
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'include/onenand_uboot.h')
-rw-r--r-- | include/onenand_uboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h index fd01040817..d69e0d2d19 100644 --- a/include/onenand_uboot.h +++ b/include/onenand_uboot.h @@ -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 */ |