fsl-layerscape: fix compile error with sec fw disabled
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Fri, 18 Oct 2019 09:01:53 +0000 (09:01 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 8 Nov 2019 05:43:38 +0000 (11:13 +0530)
commit5047781e993d5a17bc83a01f66937cc7816d3b31
treeb7ba83eaef342bdab9c5479fd4bf5c32723fcc93
parentdb49c1b2defbcf67ce472787fe5085ac43f19c79
fsl-layerscape: fix compile error with sec fw disabled

If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n), below
compilation error appears
arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h:169:4: error:
'CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT' undeclared here (not in a function)

Fix it by wrapping with CONFIG_IS_ENABLED().

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h