mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
rockchip: rk3308: Enable random generator
The RK3308 SoC contain a crypto engine block that can generate random numbers. Add rng node to soc u-boot.dtsi and enable Kconfig options to take advantage of the random generator. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
committed by
Kever Yang
parent
9ae4a86f1e
commit
eaea9b4816
@@ -26,6 +26,11 @@
|
||||
reg = <0x07 0x10>;
|
||||
};
|
||||
};
|
||||
|
||||
rng: rng@ff2f0000 {
|
||||
compatible = "rockchip,cryptov2-rng";
|
||||
reg = <0x0 0xff2f0000 0x0 0x4000>;
|
||||
};
|
||||
};
|
||||
|
||||
&cru {
|
||||
|
||||
@@ -162,9 +162,11 @@ config ROCKCHIP_RK3308
|
||||
select SPL_LOAD_FIT
|
||||
imply ARMV8_CRYPTO
|
||||
imply ARMV8_SET_SMPEN
|
||||
imply DM_RNG
|
||||
imply LEGACY_IMAGE_FORMAT
|
||||
imply MISC
|
||||
imply MISC_INIT_R
|
||||
imply RNG_ROCKCHIP
|
||||
imply ROCKCHIP_COMMON_BOARD
|
||||
imply ROCKCHIP_OTP
|
||||
imply SPL_CLK
|
||||
|
||||
Reference in New Issue
Block a user