Home
last modified time | relevance | path

Searched refs:nv_size (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/partition_table/
H A Dflash_partition_table.c208 hi_u32 nv_size = 0; in hi_nv_restore_by_backup() local
211 ret |= hi_get_normal_nv_partition_table(&nv_addr, &nv_size); in hi_nv_restore_by_backup()
216 if (nv_size / backup_nv_size != 0x2) { in hi_nv_restore_by_backup()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c180 hi_u32 nv_size = section_head.section1_len; in upg_refresh_nv() local
181 if (nv_size != HI_NV_DEFAULT_BLOCK_SIZE) { in upg_refresh_nv()
188 ret = hi_flash_read(nv_addr, nv_size, buf); in upg_refresh_nv()
190 upg_print("[upg refresh nv]flash read fail:nvfrom-nvsize-ret:0x%x-0x%x-0x%x \r\n", nv_addr, nv_size, ret); in upg_refresh_nv()
193 ret = hi_nv_flush_keep_ids(buf, nv_size); in upg_refresh_nv()
197 ret = hi_nv_block_write(buf, nv_size, 0); in upg_refresh_nv()
206 ret = hi_nv_init(normal_nv_addr, normal_nv_size, nv_size); in upg_refresh_nv()

Completed in 3 milliseconds