aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2022-01-09 22:01:41 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-01-15 17:41:18 +0100
commit43659a7d740ce3dc3157b52b5e0d7bfdc986698e (patch)
treeca320cde8d1c99c44c0b2061c99613c406c4c585 /target/linux/mvebu
parentbf991fa35754c92da1400e6e0b018c8b787e5ec3 (diff)
downloadupstream-43659a7d740ce3dc3157b52b5e0d7bfdc986698e.tar.gz
upstream-43659a7d740ce3dc3157b52b5e0d7bfdc986698e.tar.bz2
upstream-43659a7d740ce3dc3157b52b5e0d7bfdc986698e.zip
mvebu: cortexa53: Enable Armada 37xx rWTM driver
Enabling Armada 37xx rWTM driver. This gives the kernel access to random number generator, if provided by the rWTM firmware. Note that the driver is called turris-mox-rwtm because it was initially written for Turris MOX, but will also work on other Armada 37xx platforms, if they use rWTM firmware from CZ.NIC [1]. It makes sense to have this driver built-in, so that kernel has access to random number generator without needing to load any drivers. [1] https://gitlab.nic.cz/turris/mox-boot-builder Signed-off-by: Marek BehĂșn <kabel@kernel.org> Reviewed-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r--target/linux/mvebu/cortexa53/config-5.104
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mvebu/cortexa53/config-5.10 b/target/linux/mvebu/cortexa53/config-5.10
index 78373ad732..80245e6a0c 100644
--- a/target/linux/mvebu/cortexa53/config-5.10
+++ b/target/linux/mvebu/cortexa53/config-5.10
@@ -18,6 +18,7 @@ CONFIG_ARM64_TAGGED_ADDR_ABI=y
CONFIG_ARM64_VA_BITS=39
CONFIG_ARM64_VA_BITS_39=y
CONFIG_ARMADA_37XX_CLK=y
+CONFIG_ARMADA_37XX_RWTM_MBOX=y
CONFIG_ARMADA_AP806_SYSCON=y
CONFIG_ARMADA_AP_CP_HELPER=y
CONFIG_ARMADA_CP110_SYSCON=y
@@ -40,6 +41,8 @@ CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_PINCONF=y
CONFIG_HOLES_IN_ZONE=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
+CONFIG_MAILBOX=y
+# CONFIG_MAILBOX_TEST is not set
CONFIG_MFD_SYSCON=y
CONFIG_MMC_SDHCI_XENON=y
CONFIG_MODULES_USE_ELF_RELA=y
@@ -74,6 +77,7 @@ CONFIG_SWIOTLB=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_THREAD_INFO_IN_TASK=y
+CONFIG_TURRIS_MOX_RWTM=y
CONFIG_UNMAP_KERNEL_AT_EL0=y
CONFIG_VMAP_STACK=y
CONFIG_ZONE_DMA32=y