ARM platforms: Initialize cntfrq for BL1 Firmware update
authorSoby Mathew <soby.mathew@arm.com>
Mon, 11 Jun 2018 15:40:36 +0000 (16:40 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Tue, 26 Jun 2018 14:55:46 +0000 (15:55 +0100)
commit3208edcdfe5046333bd9d7e39d26e72de44fdf28
treebb84f6bc6e96621a8f61f81ec4182f9f9c03ad7b
parentf790cc0a9c492cf3615c82574e2c3f1ff8af0a3d
ARM platforms: Initialize cntfrq for BL1 Firmware update

Currenly the CNTFRQ register and system timer is initialized in BL31 for
use by the normal world. During firmware update, the NS-BL1 or NS-BL2U
may need to access the system timer. Hence this patch duplicates the
CNTFRQ and system timer initialization in BL1 as well.

Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I1ede78b4ae64080fb418cb93f3e48b26d7b724dc
docs/firmware-design.rst
plat/arm/common/arm_bl1_setup.c