]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: layerscape: don't remove crypto node if just partially disabled
authorMichael Walle <michael@walle.cc>
Fri, 16 Oct 2020 17:38:18 +0000 (19:38 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 23 Oct 2020 11:22:09 +0000 (16:52 +0530)
commit05f9a99366a87cbd7d82cddadaec51a42537551a
tree5a2752fa3c639be998325c12df234e1bcdca45bb
parente45df4fb510f100d4855fecdd2740379e1152091
armv8: layerscape: don't remove crypto node if just partially disabled

On all newer Layerscape SoCs, only the export-controlled ciphers of the
crypto module are disabled on non-E parts. Thus it doesn't make sense to
completely remove the node. Linux will figure out what is there and what
is not.

Just remove it for older SoCs, where the module is indeed completely
disabled on non-E parts.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fdt.c