From dc38a58360bfc3b21621dc9d5e626febd1aa93ec Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 8 Jun 2020 23:50:28 +0100 Subject: rockchip: Pinebook Pro: enable rng to provide an entropy source Enable the rng so UEFI can provide entropy for KASLR Signed-off-by: Peter Robinson Reviewed-by: Kever Yang --- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 ++++ arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'arch/arm') diff --git a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi index 1a2e24d..296321d 100644 --- a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi +++ b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi @@ -24,6 +24,10 @@ u-boot,dm-pre-reloc; }; +&rng { + status = "okay"; +}; + &sdhci { max-frequency = <25000000>; u-boot,dm-pre-reloc; diff --git a/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi b/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi index bac09df..cb8991a 100644 --- a/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +++ b/arch/arm/dts/rk3399-rockpro64-u-boot.dtsi @@ -19,6 +19,10 @@ }; }; +&rng { + status = "okay"; +}; + &spi1 { spi_flash: flash@0 { u-boot,dm-pre-reloc; -- cgit v1.1