From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meenakshi Aggarwal Date: Tue, 21 May 2019 20:28:09 +0530 Subject: [U-Boot] [PATCH] armv8/fsl-layerscape: increase timeout for l3 flush Message-ID: <1558450689-7570-1-git-send-email-meenakshi.aggarwal@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Few platforms need longer timeout to flush l3 cache. This patch increase the timeout value for proper l3 cache flush operation. Signed-off-by: Udit Kumar Signed-off-by: Meenakshi Aggarwal --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S index 6721a57..10aebbc 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S +++ b/arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S @@ -362,7 +362,7 @@ hnf_pstate_poll: mov x1, x0 mov x7, #0 /* flag for timeout */ mrs x3, cntpct_el0 /* read timer */ - add x3, x3, #1200 /* timeout after 100 microseconds */ + add x3, x3, #4000 /* timeout after 333 microseconds */ mov x0, #0x18 movk x0, #0x420, lsl #16 /* HNF0_PSTATE_STATUS */ mov w6, #8 /* HN-F node count */ -- 1.9.1