summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-01-28 09:45:21 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-30 01:50:19 +0000
commite333c591d764b95d0377fb2886c8b688e6bf43ac (patch)
tree841eed857c60574dacb6ff1b231c270f5dbe05d7 /zephyr/Kconfig
parent7b7a3f0adaf415794b50ad6dac9697ed5417cc97 (diff)
downloadchrome-ec-e333c591d764b95d0377fb2886c8b688e6bf43ac.tar.gz
zephyr: Add configuration for RAM size
Add the CONFIG_RAM_SIZE that will be used by common/system.c. BRANCH=none BUG=b:176828988, b:174481378 TEST=zmake testall Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ia55e41b40bc0e3100b8151210ef2a716790c7037 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2656916 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index e74aa487c7..8076041e63 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -59,6 +59,15 @@ config ZEPHYR
#
# 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