Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dplat_io_storage.c440 static int flush_single_image(const char *mmc_name, unsigned long img_addr, in flush_single_image() argument
466 result = io_write(img_handle, img_addr, length, in flush_single_image()
477 static int is_sparse_image(unsigned long img_addr) in is_sparse_image() argument
479 if (*(uint32_t *)img_addr == SPARSE_HEADER_MAGIC) in is_sparse_image()
484 static int do_unsparse(char *cmdbuf, unsigned long img_addr, unsigned long img_length) in do_unsparse() argument
486 sparse_header_t *header = (sparse_header_t *)img_addr; in do_unsparse()
489 void *data = (void *)img_addr; in do_unsparse()
632 int flush_user_images(char *cmdbuf, unsigned long img_addr, in flush_user_images() argument
642 result = fetch_entry_head((void *)img_addr, USER_MAX_ENTRIES, entries); in flush_user_images()
649 if (is_sparse_image(img_addr)) { in flush_user_images()
[all …]