[U-Boot] [PATCH v2 2/6] armv8: fsl-layerscape: fix compile error with sec fw disabled

Horia Geanta horia.geanta at nxp.com
Fri Oct 18 14:01:01 UTC 2019


On 10/18/2019 12:01 PM, Laurentiu Tudor wrote:
> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
> 
> If SEC FW support is not enabled (ARMV8_SEC_FIRMWARE_SUPPORT=n) this
> compilation error happens:
> 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 at nxp.com>
Reviewed-by: Horia Geantă <horia.geanta at nxp.com>

Thanks,
Horia


More information about the U-Boot mailing list