aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/conf')
-rw-r--r--sys/riscv/conf/GENERIC8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index a8500fe80019..36e3fcd41970 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -197,6 +197,10 @@ device mmcsd # MMC/SD flash cards
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
+# random(4)
+options RANDOM_ENABLE_KBD
+options RANDOM_ENABLE_MOUSE
+
# Flattened Device Tree
options FDT
@@ -204,6 +208,10 @@ options FDT
device iicbus # Bus support, required for iicoc below.
device iicoc # OpenCores I2C controller support
+# random(4)
+device tpm # Trusted Platform Module
+options RANDOM_ENABLE_TPM # enable entropy from TPM 2.0
+
# Include SoC specific configuration
include "std.allwinner"
include "std.cvitek"