Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/partition_table/
H A Dflash_partition_table.c207 hi_u32 nv_addr = 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()
220 ret = hi_flash_write(nv_addr, backup_nv_size, (const hi_u8 *)(HI_FLASH_BASE + backup_nv_addr), HI_TRUE); in hi_nv_restore_by_backup()
221 ret |= hi_flash_write(nv_addr + backup_nv_size, backup_nv_size, in hi_nv_restore_by_backup()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c179 hi_u32 nv_addr = cfg.addr_start + section_head.section1_offset; in upg_refresh_nv() local
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()

Completed in 4 milliseconds