Searched refs:erase_size (Results 1 - 6 of 6) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
H A D | boot_upg_kernel.c | 112 hi_u32 erase_size = uncompress_size; in boot_upg_kernel_process() local 113 erase_size = align_length(erase_size, ALIGNTYPE_4K); in boot_upg_kernel_process() 114 ret = hi_flash_erase(addr_start, erase_size); in boot_upg_kernel_process() 115 boot_msg4("info start-erasesize-write-uncompresssize:", addr_start, erase_size, addr_write, uncompress_size); in boot_upg_kernel_process()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/ |
H A D | transfer.c | 47 boot_msg0("file_size > erase_size"); in loader_serial_ymodem() 121 hi_u32 download_to_flash(hi_u32 flash_offset, hi_u32 erase_size, hi_u32 flash_size) in download_to_flash() argument 136 if (erase_size == 0) { in download_to_flash() 142 boot_msg2("erase flash ", flash_offset, erase_size); in download_to_flash() 144 ret = g_flash_cmd_funcs.erase(flash_offset, erase_size); in download_to_flash() 154 ret = loader_serial_ymodem(flash_offset, erase_size, 0, flash_size); in download_to_flash() 159 hi_u32 download_image(hi_u32 addr, hi_u32 erase_size, hi_u32 flash_size, hi_u8 burn_efuse) in download_image() argument 164 ret = download_to_flash(addr, erase_size, flash_size); in download_image() 170 if (((addr == DEFAULT_KERNEL_BURN_ADDR) && (erase_size > FLASHBOOT_MAX_SIZE)) || in download_image() 171 ((addr == 0) && (erase_size > FLASHBOOT_MAX_SIZ in download_image() 183 download_factory_image(hi_u32 addr, hi_u32 erase_size, hi_u32 flash_size, hi_u8 burn_efuse) download_factory_image() argument [all...] |
H A D | cmd_loop.c | 142 hi_u32 erase_size = *(hi_u32 *)(&cmd_ctx->packet.payload[8]); /* offset 8 is erase size */ in loader_download_image() local 152 if (file_len == 0 || erase_size == 0 || erase_size < file_len || (download_addr + file_len) > flash_size) { in loader_download_image() 158 serial_puts(" erase_size "); in loader_download_image() 159 serial_puthex(erase_size, 1); in loader_download_image() 178 return download_factory_image(download_addr, erase_size, flash_size, burn_efuse); in loader_download_image() 181 return download_image(download_addr, erase_size, flash_size, burn_efuse); in loader_download_image()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/ |
H A D | transfer.h | 73 hi_u32 download_image(hi_u32 addr, hi_u32 erase_size, hi_u32 flash_size, hi_u8 burn_efuse); 74 hi_u32 download_factory_image(hi_u32 addr, hi_u32 erase_size, hi_u32 flash_size, hi_u8 burn_efuse);
|
H A D | boot_rom.h | 237 hi_u32 erase_size; member 246 hi_u32 erase_size, hi_bool is_crash); 270 hi_u32 spif_reg_erase(hi_spi_flash_ctrl *spif_ctrl, hi_u32 flash_addr, hi_u32 erase_size, hi_bool is_crash);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/flash/ |
H A D | flash_prv.h | 279 hi_u32 erase_size; member 287 hi_u32 (*erase)(struct spi_flash_ctrl* spif_ctrl, hi_u32 flash_addr, hi_u32 erase_size, hi_bool is_crash); 306 HI_EXTERN hi_u32 spif_reg_erase(hi_spi_flash_ctrl* spif_ctrl, hi_u32 flash_addr, hi_u32 erase_size, hi_bool is_crash);
|
Completed in 5 milliseconds