1 Index: uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
2 ===================================================================
3 --- uboot-layerscape-lf-6.1.1-1.0.0.orig/arch/arm/cpu/armv8/sec_firmware.c
4 +++ uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
5 @@ -473,12 +473,6 @@ int fdt_fixup_kaslr(void *fdt)
9 - ret = sec_firmware_get_random(rand, 8);
11 - printf("WARNING: No random number to set kaslr-seed\n");
15 err = fdt_check_header(fdt);
17 printf("fdt_chosen: %s\n", fdt_strerror(err));
18 @@ -490,6 +484,15 @@ int fdt_fixup_kaslr(void *fdt)
22 + if (fdt_find_or_add_subnode(fdt, nodeoffset, "kaslr-seed"))
25 + ret = sec_firmware_get_random(rand, 8);
27 + printf("WARNING: No random number to set kaslr-seed\n");
31 err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand,