diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2021-07-30 16:06:34 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-06 05:30:24 +0000 |
commit | 455838473dd92e2ca09ae720e2b76bb33ad5eff6 (patch) | |
tree | b76165d432153ef81eed398fdfb854f6c5bf381e /zephyr | |
parent | 48443676961f40032826fdcbc8479009161a0c5e (diff) | |
download | chrome-ec-455838473dd92e2ca09ae720e2b76bb33ad5eff6.tar.gz |
zephyr: it8xxx2: re-configure ROM_BASE address for RW image
RW image is at the CROS_EC_RW_MEM_OFF offset from the beginning of flash.
BRANCH=none
BUG=b:194794622
TEST=sysjump rw/ro, sysinfo
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I7456376a790a354876b1b7312310e9a6a5fcef44
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063100
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/app/ec/chip/riscv/riscv-ite/Kconfig.it8xxx2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zephyr/app/ec/chip/riscv/riscv-ite/Kconfig.it8xxx2 b/zephyr/app/ec/chip/riscv/riscv-ite/Kconfig.it8xxx2 new file mode 100644 index 0000000000..1d60630027 --- /dev/null +++ b/zephyr/app/ec/chip/riscv/riscv-ite/Kconfig.it8xxx2 @@ -0,0 +1,10 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +if SOC_FAMILY_RISCV_ITE + +config FLASH_LOAD_OFFSET + default CROS_EC_RW_MEM_OFF if CROS_EC_RW + +endif # SOC_FAMILY_RISCV_ITE |