uboot-layerscape: Don't fixup kaslr seed when no node
authorWojciech Dubowik <Wojciech.Dubowik@protonmail.ch>
Wed, 12 Apr 2023 12:36:11 +0000 (14:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 May 2023 12:50:50 +0000 (14:50 +0200)
commit29149a9b35d52081e62a42b7d60336a58e01728e
treef86612d6732fef42bd5872d09145e22932f49169
parentca81441769dfb10645292eb1ea44ea1b54768a28
uboot-layerscape: Don't fixup kaslr seed when no node

There seems to be a difference in firmware calling convention
between upstream and NXP kernels. On some cpus like ls1028
it will hang on firmware secure get random when using LF uboot
with upstream kernel. Instead of commenting it out, don't call
get radnom seed when "kaslr-seed" is not present in device tree.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@protonmail.ch>
package/boot/uboot-layerscape/patches/0003-avoid-calling-sec-firmware-get-random-when-no-kaslr-seed.patch [new file with mode: 0644]