File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ extern "C" {
205205# define update_hash wc_Sha3Update
206206# define final_hash wc_Sha3Final
207207# define key_hash key_sha3_384
208- typedef wc_sha3_384 wolfBoot_hash_t ;
208+ typedef wc_Sha3 wolfBoot_hash_t ;
209209# define HDR_HASH HDR_SHA3_384
210210#else
211211# error "No valid hash algorithm defined!"
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ void RAMFUNCTION wolfBoot_start(void)
271271
272272#ifdef WOLFBOOT_ELF
273273 /* Load elf */
274- if (elf_load_image ((uint8_t * )load_address , (uintptr_t * )& load_address ) != 0 ){
274+ if (elf_load_image_mmu ((uint8_t * )load_address , (uintptr_t * )& load_address , NULL ) != 0 ){
275275 wolfBoot_printf ("Invalid elf, falling back to raw binary\n" );
276276 }
277277#endif
You can’t perform that action at this time.
0 commit comments