mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
onenand_spl_simple: Add a simple OneNAND read function
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
This commit is contained in:
parent
e1a89e9358
commit
735717d18a
2 changed files with 49 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue