diff options
author | Yuval Peress <peress@chromium.org> | 2021-03-03 11:36:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-03 20:08:08 +0000 |
commit | ec2a21e143e1f31b9a607b88a725fca62aa01bd4 (patch) | |
tree | 4cc8c97279954905f1af7941cdc4f5b53c417fa4 /zephyr/Kconfig | |
parent | 801ac5a0df178a58d20d78cddb69042b7feae016 (diff) | |
download | chrome-ec-ec2a21e143e1f31b9a607b88a725fca62aa01bd4.tar.gz |
zephyr: fix AP power cycling on sysjump
When running the sysjump, the AP was power cycling. This was caused
by the jdata address no longer being correct since the swap to Zephyr
2.5. Previously, the sram0 device tree entry defined a register size
of 0x10000, which needed to have 0x800 bytes removed as part of the
boot ram size. This can be seen in
https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/dts/arm/nuvoton/npcx7m6fb.dtsi#L35
In Zephyr 2.5, the sram0 size was corrected to 62k to account for the
boot ram size. As can be seen in
https://github.com/zephyrproject-rtos/zephyr/blob/master/dts/arm/nuvoton/npcx7m6fb.dtsi#L21
This is also true for npcx7m6fc and npcx7m7fc.
BRANCH=none
BUG=b:181599787
TEST=build and falsh volteer, see correct value returned for
system_jumped_to_this_image()
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Icf063ec220d17ebe6a012506e4626702bdf9e149
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2732935
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 366e15c04b..5378ef0ee4 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -49,15 +49,6 @@ rsource "Kconfig.usbc" # # Please keep these in alphabetical order -config PLATFORM_EC_BOOT_RAM_SIZE - hex "The total size required for the boot loader" - default 0x0 - help - This is the size (in bytes) required by the boot loader. It will count - against the data section of the RAM. Not all chips require this value. - See the datasheet for the npcx chip family for example. If not needed, - this can simple be left at 0x0. - config PLATFORM_EC_ACPI bool "Enable the ACPI module" default y if AP_X86 && PLATFORM_EC_ESPI |