Home
last modified time | relevance | path

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

/OK3568_Linux_fs/rkbin/tools/burner_image_kits/
H A Dmake.sh9 oob_size=$6
75 $rk_bch $dst_path"/"$2 $dst_path"/"$2".bch" $page_size $oob_size 0
101 if [[ $oob_size != 64 && $oob_size != 128 && $oob_size != 224 && $oob_size != 256 ]]; then
102 echo "param oob_size: $oob_size not support!"
H A Dmake_slc_nand.sh9 oob_size=$6
12 $DIR/make.sh $src_path $dst_path $soc $block_size $page_size $oob_size $is_slc_nand
H A Dmake_spi_nand.sh9 oob_size=64
22 $DIR/make.sh $src_path $dst_path $soc $block_size $page_size $oob_size $is_slc_nand
/OK3568_Linux_fs/u-boot/tools/
H A 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()
H A Datmel_pmecc_params.c30 unsigned int oob_size = CONFIG_SYS_NAND_OOBSIZE; in main() local
39 ecc_offset = oob_size - in main()
45 printf("spareSize=%d,", oob_size); in main()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Ddenali_spl.c32 static int page_size, oob_size, pages_per_block; variable
135 read_data_from_flash_mem(buf, oob_size); in nand_read_oob()
175 oob_size = readl(denali_flash_reg + DEVICE_SPARE_AREA_SIZE); in nand_init()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dqcom_nandc.c1676 int cw, data_size, oob_size, ret = 0; in check_for_erased_page() local
1689 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page()
1692 oob_size = host->ecc_bytes_hw; in check_for_erased_page()
1710 oob_size, NULL, in check_for_erased_page()
1844 int data_size, oob_size; in read_page_ecc() local
1848 oob_size = (ecc->steps << 2) + host->ecc_bytes_hw + in read_page_ecc()
1852 oob_size = host->ecc_bytes_hw + host->spare_bytes; in read_page_ecc()
1859 oob_size, 1); in read_page_ecc()
1864 oob_size, 1); in read_page_ecc()
1888 oob_buf, oob_size, 0); in read_page_ecc()
[all …]