summaryrefslogtreecommitdiff
path: root/chip/npcx/build.mk
diff options
context:
space:
mode:
authorDavid Cross <davidmcross@google.com>2023-05-04 14:29:02 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-15 19:59:06 +0000
commit322687ee44e3a4d5fec5cdf0c240c655e1b7f47c (patch)
tree4a7e496f2eedea312463290d0d8d13a073e376d6 /chip/npcx/build.mk
parent42167827fbbc9d0100f151c2980d15a46e61957b (diff)
downloadchrome-ec-322687ee44e3a4d5fec5cdf0c240c655e1b7f47c.tar.gz
chip: add support for npcx trng
BUG=b:280889889 TEST=add CONFIG_RNG to NPCX based board.h file (e.g. npcx9_evb) Change-Id: I93b3a7742c3b7d614cc1218104cd642b3339f8b3 Signed-off-by: David Cross <davidmcross@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4507895 Reviewed-by: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'chip/npcx/build.mk')
-rw-r--r--chip/npcx/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/npcx/build.mk b/chip/npcx/build.mk
index 9e046be7ec..11155af9bb 100644
--- a/chip/npcx/build.mk
+++ b/chip/npcx/build.mk
@@ -40,6 +40,7 @@ chip-$(CONFIG_CEC)+=cec.o
# pwm functions are implemented with the fan functions
chip-$(CONFIG_PWM)+=pwm.o
chip-$(CONFIG_SPI)+=spi.o
+chip-$(CONFIG_RNG)+=trng.o
chip-$(CONFIG_WATCHDOG)+=watchdog.o
ifndef CONFIG_KEYBOARD_DISCRETE
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o