Home
last modified time | relevance | path

Searched refs:oob_size (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/tools/
Dsunxi-spl-image-builder.c25 int oob_size; member
126 memset(buffer, 0xff, info->page_size + info->oob_size); in write_page()
138 fwrite(buffer, info->page_size + info->oob_size, 1, dst); in write_page()
160 cnt = info->page_size + info->oob_size - offs; in write_page()
169 cnt = info->page_size + info->oob_size - offs; in write_page()
233 fseek(dst, pos + info->page_size + info->oob_size, SEEK_SET); in write_page()
251 buffer = malloc(info->page_size + info->oob_size); in create_image()
257 memset(buffer, 0xff, info->page_size + info->oob_size); in create_image()
388 if (info->page_size + info->oob_size < in check_image_info()
443 info.oob_size = strtol(optarg, NULL, 0); in main()
Datmel_pmecc_params.c29 unsigned int oob_size = CONFIG_SYS_NAND_OOBSIZE; in main() local
38 ecc_offset = oob_size - in main()
44 printf("spareSize=%d,", oob_size); in main()
/external/u-boot/drivers/mtd/nand/
Ddenali_spl.c31 static int page_size, oob_size, pages_per_block; variable
134 read_data_from_flash_mem(buf, oob_size); in nand_read_oob()
174 oob_size = readl(denali_flash_reg + DEVICE_SPARE_AREA_SIZE); in nand_init()
Dpxa3xx_nand.c198 unsigned int oob_size; member
444 info->oob_size = info->spare_size; in pxa3xx_set_datasize()
446 info->oob_size += info->ecc_size; in pxa3xx_set_datasize()
537 if (info->oob_size > 0) in handle_data_pio()
540 DIV_ROUND_UP(info->oob_size, 4)); in handle_data_pio()
547 if (info->oob_size > 0) in handle_data_pio()
550 DIV_ROUND_UP(info->oob_size, 4)); in handle_data_pio()
560 info->oob_buff_pos += info->oob_size; in handle_data_pio()
691 info->oob_size = 0; in prepare_start_command()
775 info->oob_size; in prepare_set_command()
[all …]