[PATCH 2/2] configs: qcom_defconfig: enable RNG driver and command

Neil Armstrong neil.armstrong at linaro.org
Mon Nov 25 18:12:57 CET 2024


Enable the MSM RNG driver by default with the associated
command, this will fill KASLR seed when booting Linux.

Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
---
 configs/qcom_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index ea0dd3e58018c8bf08e4a455a47e29cf1bbd3c60..fa631ea4976a2c38494832b196c60fd127288cc4 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -34,6 +34,7 @@ CONFIG_CMD_UFS=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CAT=y
 CONFIG_CMD_BMP=y
+CONFIG_CMD_RNG=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_LOG=y
 CONFIG_OF_LIVE=y
@@ -96,6 +97,8 @@ CONFIG_PMIC_QCOM=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_QCOM_RPMH=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_MSM=y
 CONFIG_SCSI=y
 CONFIG_MSM_SERIAL=y
 CONFIG_MSM_GENI_SERIAL=y

-- 
2.34.1



More information about the U-Boot mailing list