diff options
Diffstat (limited to 'zephyr/shim/chip/it8xxx2/system.c')
-rw-r--r-- | zephyr/shim/chip/it8xxx2/system.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/shim/chip/it8xxx2/system.c b/zephyr/shim/chip/it8xxx2/system.c index 0ec138a415..e40c49d137 100644 --- a/zephyr/shim/chip/it8xxx2/system.c +++ b/zephyr/shim/chip/it8xxx2/system.c @@ -83,3 +83,13 @@ static int chip_system_init(const struct device *unused) return 0; } SYS_INIT(chip_system_init, PRE_KERNEL_1, 15); + +uintptr_t system_get_fw_reset_vector(uintptr_t base) +{ + /* + * Because our reset vector is at the beginning of image copy + * (see init.S). So I just need to return 'base' here and EC will jump + * to the reset vector. + */ + return base; +} |