]> git.dujemihanovic.xyz Git - u-boot.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)
commit4eecc6f1a104b5f3737c7e1bbaaa022e5d3bac53
tree5a2752fa3c639be998325c12df234e1bcdca45bb
parent026703174a2cf8cd9c83a7c797b96b95af5af69b
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