diff options
Diffstat (limited to 'chip/npcx/system.c')
-rw-r--r-- | chip/npcx/system.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c index 525049acba..23d66d7882 100644 --- a/chip/npcx/system.c +++ b/chip/npcx/system.c @@ -708,7 +708,8 @@ void system_jump_to_booter(void) } /* Make sure the reset vector is inside the destination image */ - addr_entry = *(uintptr_t *)(flash_offset + CONFIG_FLASH_BASE + 4); + addr_entry = *(uintptr_t *)(flash_offset + + CONFIG_PROGRAM_MEMORY_BASE + 4); download_from_flash( flash_offset, /* The offset of the data in spi flash */ |