diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-04-14 13:27:51 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-14 20:33:29 +0000 |
commit | 982ccd411a167d3a9adc4777997d3742fad2dbf9 (patch) | |
tree | 72fce9434e92e61dcb6a27fd236789c851ae82a6 /zephyr/Kconfig | |
parent | 265691a2fe290e0fa54ecccba151a5c63dd73e47 (diff) | |
download | chrome-ec-982ccd411a167d3a9adc4777997d3742fad2dbf9.tar.gz |
zephyr: Kconfig: fix few choice symbols format
Choice entries expects a symbol (or nothing) as the argument. The
symbol is only used to have choices in multiple files (which we don't)
and for documentation referencing.
This renames few instances of descriptions where there should be a
symbol around various Kconfig files, and cleans up various
choice/endchoice definition cosmetic inconsistencies.
BUG=none
BRANCH=none
TEST=ninja menuconfig
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Link: https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html#kconfig-syntax
Change-Id: I040bc9008d6c97bf96d8cf4f37384504ccda78b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3586429
Reviewed-by: Sam Hurst <shurst@google.com>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index cbcb0bee4b..dacdb13e92 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -570,7 +570,7 @@ config PLATFORM_EC_RTC to the outside world and can often obtain the current time when desired. -choice "SHA256 method" +choice PLATFORM_EC_SHA256_MODE prompt "Select method to use for computing SHA256 hashes" help The verified boot mechanism requests the hash of the entire read-write @@ -594,7 +594,7 @@ config PLATFORM_EC_SHA256_HW_ACCELERATE The chip support must implement the functions in sha256.h -endchoice # SHA256 method +endchoice # PLATFORM_EC_SHA256_MODE config PLATFORM_EC_SWITCH bool "Memory mapped switches" |