mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
rng: Introduce SPL_DM_RNG
Add SPL variant of DM_RNG so that the DM_RNG can be disabled in SPL if necessary. This may be necessary due to e.g. size constraints of the SPL. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
committed by
Fabio Estevam
parent
2f1e76bcfe
commit
591257b05c
@@ -21,9 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
#ifdef CONFIG_DM_RNG
|
||||
#include <rng.h>
|
||||
#endif
|
||||
|
||||
#include <splash.h>
|
||||
#include <asm/io.h>
|
||||
@@ -323,7 +321,7 @@ static int label_localboot(struct pxe_label *label)
|
||||
|
||||
static void label_boot_kaslrseed(void)
|
||||
{
|
||||
#ifdef CONFIG_DM_RNG
|
||||
#if CONFIG_IS_ENABLED(DM_RNG)
|
||||
ulong fdt_addr;
|
||||
struct fdt_header *working_fdt;
|
||||
size_t n = 0x8;
|
||||
|
Reference in New Issue
Block a user