commit | dcd7ed3586380a6c42407f7b61310391616b96b9 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Tue Jul 12 20:28:11 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 22 09:53:00 2016 -0400 |
tree | 7383563104570e92312cb0119e2d40fbf6d2f015 | |
parent | daec8a41da86f8ef3de9405c744ba932f142b9d0 [diff] [blame] |
onenand_spl_simple: Add a simple OneNAND read function Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
diff --git a/include/onenand_uboot.h b/include/onenand_uboot.h index fd01040..d69e0d2 100644 --- a/include/onenand_uboot.h +++ b/include/onenand_uboot.h
@@ -49,6 +49,7 @@ 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 */