summaryrefslogtreecommitdiff
path: root/chip/host/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/system.c')
-rw-r--r--chip/host/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/host/system.c b/chip/host/system.c
index 6e1d1c36bf..e9de6b1214 100644
--- a/chip/host/system.c
+++ b/chip/host/system.c
@@ -261,8 +261,8 @@ void system_pre_init(void)
system_set_reset_flags(load_reset_flags());
}
- *(uintptr_t *)(__host_flash + CONFIG_FW_RO_OFF + 4) =
+ *(uintptr_t *)(__host_flash + CONFIG_RO_MEM_OFF + 4) =
(uintptr_t)__ro_jump_resetvec;
- *(uintptr_t *)(__host_flash + CONFIG_FW_RW_OFF + 4) =
+ *(uintptr_t *)(__host_flash + CONFIG_RW_MEM_OFF + 4) =
(uintptr_t)__rw_jump_resetvec;
}