freescale: ls1046aqds: enable secure system counter
authorBiwen Li <biwen.li@nxp.com>
Thu, 2 Jul 2020 03:13:01 +0000 (11:13 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:29 +0000 (14:16 +0530)
commite70e10bc499de3e4c9090430249f37fe963e319c
tree474caa918cc2763b9b88d8a440feb9ad410316d2
parent9c31c53564a4bbb888c7ba0515eced303ac4de02
freescale: ls1046aqds: enable secure system counter

Enable secure system counter in board_early_init_f for udelay()
to fix a bug that always return 0 by timer_read_counter()
when boot from qspi(No TFA)

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls1046aqds/ls1046aqds.c