Mathew McBride 8586a93868 armv8: fsl-layerscape: check for crypto node first in fdt_fixup_remove_jr
This a problem I found while updating the U-Boot fsl-ls1088a.dtsi
to match the Linux version.

fdt_fixup_remove_jr did not check whether there was a "crypto"
alias in the device tree before calling more fdt_* functions,
which resulted in a crash.

Fixes: a797f274
("ARMv8/sec_firmware : Update chosen/kaslr-seed with random number")

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # on LS1088A-RDB
2023-05-05 09:46:03 +08:00
..
2023-03-06 17:03:55 -05:00
2023-04-25 15:31:27 -04:00
2023-03-06 17:03:55 -05:00
2022-04-01 16:56:53 -04:00
2023-01-31 15:46:39 +01:00
2023-01-18 11:49:13 -07:00
2023-03-06 17:03:55 -05:00
2023-02-07 14:33:49 -05:00
2023-01-31 15:46:39 +01:00