]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: rk3399: enable rng on firefly/rock960/rockpro64
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 16 Dec 2020 15:48:43 +0000 (15:48 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 21 Jan 2021 03:56:21 +0000 (11:56 +0800)
Enable the RNG on the Firefly, rock960 and RockPro64 devices
to enable KASLR on devices that support it.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Akash Gajjar <akash@openedev.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Kever Yang <kever.yang@rock-chips.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
configs/firefly-rk3399_defconfig
configs/rock960-rk3399_defconfig
configs/rockpro64-rk3399_defconfig

index c453b82dc5d3820dfd2e0227857e5a2c383c4ce9..cfbaae40aaeee02258ce6c32ccd14d82aba71702 100644 (file)
@@ -35,6 +35,8 @@ CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_ROCKCHIP=y
 CONFIG_SF_DEFAULT_SPEED=20000000
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
index 65dce3cd737bd333c2748816a16f4e1b24f22fe4..aadbc55f57f6c43d63014cd7f0ac5875d6c84361 100644 (file)
@@ -39,6 +39,8 @@ CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_ROCKCHIP=y
 CONFIG_DM_ETH=y
 CONFIG_NVME=y
 CONFIG_PCI=y
index 575b7a20d506f02fc6b4b06064d3907d3917ef7f..f78dfcc8f7932404c4b9111a5cb20dc2367dbff0 100644 (file)
@@ -42,6 +42,8 @@ CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_ROCKCHIP=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_DM_ETH=y