OneNAND: Add simple OneNAND SPL
This introduces small OneNAND loader, fitting into 1kB of space (smallest possible OneNAND RAM size). Some devices equipped with such crappy chips will use this. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Scott Wood <scottwood@freescale.com> V2: Introduce spl_onenand_load_image() to load data from OneNAND in SPL V3: Cleanup, align with nand_spl. Skip whole blocks.
This commit is contained in:
committed by
Albert ARIBAUD
parent
5d877f4212
commit
54cd51bf79
@@ -52,4 +52,7 @@ extern int flexonenand_set_boundary(struct mtd_info *mtd, int die,
|
||||
extern void s3c64xx_onenand_init(struct mtd_info *);
|
||||
extern void s3c64xx_set_width_regs(struct onenand_chip *);
|
||||
|
||||
/* SPL */
|
||||
void onenand_spl_load_image(uint32_t offs, uint32_t size, void *dst);
|
||||
|
||||
#endif /* __UBOOT_ONENAND_H */
|
||||
|
||||
Reference in New Issue
Block a user