armv7: ls102xa: Enable I-Cache to speed up the boot time
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 5 Feb 2021 07:45:12 +0000 (15:45 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:19 +0000 (14:01 +0530)
commit19dba8bf9f4c87278b8e6e2133ebc39f4edb6592
tree5be00e25abea0ca220229f86f741a22450706589
parenta1f57c393380d0245f8740ddf1497902b9f963f8
armv7: ls102xa: Enable I-Cache to speed up the boot time

Enable the I-Cache to speed up the boot time, especailly for the NOR
boot, currently it takes about 15 seconds from power up to the U-Boot
prompt, and with the I-Cache enabled it only takes around 2.5 seconds.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv7/ls102xa/cpu.c