Searched refs:oob_size (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/tools/ |
D | sunxi-spl-image-builder.c | 25 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()
|
D | atmel_pmecc_params.c | 29 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/ |
D | denali_spl.c | 31 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()
|
D | pxa3xx_nand.c | 198 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 …]
|