mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
spl, nand, atmel_nand: add erase one block function
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Scott Wood <scottwood@freescale.com> Reviewed-by: Bo Shen <voice.shen@atmel.com> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
@@ -167,3 +167,4 @@ __attribute__((noreturn)) void nand_boot(void);
|
||||
#define ENV_OFFSET_SIZE 8
|
||||
int get_nand_env_oob(nand_info_t *nand, unsigned long *result);
|
||||
#endif
|
||||
int spl_nand_erase_one(int block, int page);
|
||||
|
Reference in New Issue
Block a user