summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.header
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-06-21 16:49:51 +0800
committerCommit Bot <commit-bot@chromium.org>2021-06-21 17:35:49 +0000
commitd6ff89a16463231757a2490e876aec7631373915 (patch)
tree46d7dc911862882da82376d6d10c9e0daa1db478 /zephyr/Kconfig.header
parent8b53f1bdb50cfad5237a6c4aab243ba1157282b8 (diff)
downloadchrome-ec-d6ff89a16463231757a2490e876aec7631373915.tar.gz
zephyr: npcx: Fix sysjump to RO
For npcx, sysjump to RO needs the PLATFORM_EC_RO_HEADER_SIZE information in RW image. However, the dependency of PLATFORM_EC_RO_HEADER lets RW image can't get this information. This CL removes the dependency of PLATFORM_EC_RO_HEADER in Kconfig for those configs & lets RW get this information back. BRANCH=none BUG=none TEST='sysjump RO' correct & without abnormal delay. Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I434216a4bcde6663cf363372206566b210236bad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2975170 Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.header')
-rw-r--r--zephyr/Kconfig.header3
1 files changed, 1 insertions, 2 deletions
diff --git a/zephyr/Kconfig.header b/zephyr/Kconfig.header
index 3fc8181c9f..43e66ec3e4 100644
--- a/zephyr/Kconfig.header
+++ b/zephyr/Kconfig.header
@@ -17,7 +17,6 @@ config PLATFORM_EC_RO_HEADER
config PLATFORM_EC_RO_HEADER_OFFSET
hex "Offset in memory for the location of the header"
default 0x0
- depends on PLATFORM_EC_RO_HEADER
help
The offset (in bytes) of the header relative to the start address of
the RO image.
@@ -25,7 +24,7 @@ config PLATFORM_EC_RO_HEADER_OFFSET
config PLATFORM_EC_RO_HEADER_SIZE
hex "Size of the RO header"
default 0x40 if SOC_FAMILY_NPCX
- depends on PLATFORM_EC_RO_HEADER
+ default 0x0
help
The size of the RO header in bytes. This values should come from the
datasheet of the chip being used.