Commit dc38a583 authored by Peter Robinson's avatar Peter Robinson Committed by Kever Yang
Browse files

rockchip: Pinebook Pro: enable rng to provide an entropy source



Enable the rng so UEFI can provide entropy for KASLR
Signed-off-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
parent f81f9f0e
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
}; };
&rng {
status = "okay";
};
&sdhci { &sdhci {
max-frequency = <25000000>; max-frequency = <25000000>;
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
......
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
}; };
}; };
&rng {
status = "okay";
};
&spi1 { &spi1 {
spi_flash: flash@0 { spi_flash: flash@0 {
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
......
...@@ -54,6 +54,8 @@ CONFIG_DM_PMIC_FAN53555=y ...@@ -54,6 +54,8 @@ CONFIG_DM_PMIC_FAN53555=y
CONFIG_PMIC_RK8XX=y CONFIG_PMIC_RK8XX=y
CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_PWM=y
CONFIG_REGULATOR_RK8XX=y CONFIG_REGULATOR_RK8XX=y
CONFIG_DM_RNG=y
CONFIG_RNG_ROCKCHIP=y
CONFIG_PWM_ROCKCHIP=y CONFIG_PWM_ROCKCHIP=y
CONFIG_RAM_RK3399_LPDDR4=y CONFIG_RAM_RK3399_LPDDR4=y
CONFIG_DM_RESET=y CONFIG_DM_RESET=y
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment