Searched refs:badblock (Results 1 – 3 of 3) sorted by relevance
253 u32 badblock; in is_badblock() local268 badblock = readl(&src[CONFIG_SYS_NAND_BAD_BLOCK_POS / 4]); in is_badblock()269 badblock >>= 8 * (CONFIG_SYS_NAND_BAD_BLOCK_POS % 4); in is_badblock()270 badblock &= 0xff; in is_badblock()273 if (badblock != 0xff) in is_badblock()
869 int badblock = ioctl(fd, MEMGETBADBLOCK, &blockstart); in flash_bad_block() local871 if (badblock < 0) { in flash_bad_block()873 return badblock; in flash_bad_block()876 if (badblock) { in flash_bad_block()881 return badblock; in flash_bad_block()
113 uint32_t badblock[510]; member
Completed in 7 milliseconds