]> git.baikalelectronics.ru Git - arm-tf.git/commit
plat: marvell: ap806: implement workaround for errata-id FE-4265711
authorStefan Chulski <stefanc@marvell.com>
Mon, 24 Jun 2019 16:13:38 +0000 (19:13 +0300)
committerMarcin Wojtas <mw@semihalf.com>
Sun, 4 Oct 2020 13:20:55 +0000 (15:20 +0200)
commit6792ba159815a437889d7c758608933f75c0b935
treeec509441c2d303dd2f4b56cdf88fcefff8aca09a
parentfa417e6806b48a95234bfe63f94990233b7c3886
plat: marvell: ap806: implement workaround for errata-id FE-4265711

ERRATA ID: FE-4265711 - Incorrect CNTVAL reading

CNTVAL reflects the global system counter value in binary format.
Due to this erratum, the CNTVAL value presented to the processor
may be incorrect for several clock cycles.

Workaround: Override the default value of AP Register Device General
control 20 [19:16] and AP Register Device General Control 21 [11:8]
to the value of 0x3.

Change-Id: I1705608d08acd9631ab98d6f7ceada34d6b8336f
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
plat/marvell/armada/a8k/common/aarch64/plat_arch_config.c
plat/marvell/armada/a8k/common/include/platform_def.h