From: Rajesh Bhagat Date: Mon, 5 Nov 2018 18:02:05 +0000 (+0000) Subject: armv8: layerscape: skip OCRAM init for TFABOOT X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5a73ec6169d1db85eacc4ad2fc74dad92a846c9e;p=u-boot.git armv8: layerscape: skip OCRAM init for TFABOOT OCRAM initialization is performed by TFA, Hence skipped from u-boot. Signed-off-by: Ruchika Gupta Reviewed-by: York Sun --- diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index 11b5fb2ec3..cbc9112eb1 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +++ b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S @@ -304,7 +304,8 @@ ENTRY(lowlevel_init) 100: #endif -#if defined(CONFIG_FSL_LSCH2) && !defined(CONFIG_SPL_BUILD) +#if !defined(CONFIG_TFABOOT) && \ + (defined(CONFIG_FSL_LSCH2) && !defined(CONFIG_SPL_BUILD)) bl fsl_ocram_init #endif