Home
last modified time | relevance | path

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

/u-boot/test/dm/
A Dremoteproc.c82 u8 valid_elf32[] = { in dm_test_remoteproc_elf() local
194 unsigned int size = ARRAY_SIZE(valid_elf32); in dm_test_remoteproc_elf()
200 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)valid_elf32; in dm_test_remoteproc_elf()
201 Elf32_Phdr *phdr = (Elf32_Phdr *)(valid_elf32 + ehdr->e_phoff); in dm_test_remoteproc_elf()
202 Elf32_Shdr *shdr = (Elf32_Shdr *)(valid_elf32 + ehdr->e_shoff); in dm_test_remoteproc_elf()
227 ut_assertok(rproc_elf32_load_image(dev, (ulong)valid_elf32, size)); in dm_test_remoteproc_elf()
228 ut_asserteq_mem(loaded_firmware, valid_elf32, loaded_firmware_size); in dm_test_remoteproc_elf()
229 ut_asserteq(rproc_elf_get_boot_addr(dev, (unsigned long)valid_elf32), in dm_test_remoteproc_elf()
248 ut_asserteq_mem(loaded_firmware, valid_elf32 + shdr->sh_offset, in dm_test_remoteproc_elf()
253 valid_elf32[0] = 0; in dm_test_remoteproc_elf()
[all …]

Completed in 6 milliseconds