zephyr: fix kb_raw Kconfig dependency
The cros_kb_raw driver requires the TASK_ID_KEYSCAN task, so add
dependency on PLATFORM_EC_KEYBOARD.
BRANCH=none
TEST=zmake testall
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+if PLATFORM_EC_KEYBOARD
+
menuconfig CROS_KB_RAW_NPCX
bool "Nuvoton NPCX raw-keyboard-scan driver for the Zephyr shim"
depends on SOC_FAMILY_NPCX
@@ -23,7 +25,7 @@ config CROS_KB_RAW_NPCX_KSO_HIGH_DRIVE
endif # CROS_KB_RAW_NPCX
-menuconfig CROS_KB_RAW_ITE
+config CROS_KB_RAW_ITE
bool "ITE raw-keyboard-scan driver for the Zephyr shim"
depends on SOC_FAMILY_RISCV_ITE
default y
@@ -32,3 +34,5 @@ menuconfig CROS_KB_RAW_ITE
keyboard-scan peripheral in the chip. This is used instead of the
kscan interface so we can continue to use most of the existing
keyboard-scanning code in ECOS.
+
+endif # PLATFORM_EC_KEYBOARD
\ No newline at end of file
