]> git.baikalelectronics.ru Git - arm-tf.git/commit
ti: k3: common: Use coherent memory for shared data
authorAndrew F. Davis <afd@ti.com>
Thu, 25 Apr 2019 18:02:33 +0000 (14:02 -0400)
committerJohn Tsichritzis <john.tsichritzis@arm.com>
Thu, 6 Jun 2019 10:20:21 +0000 (11:20 +0100)
commit65f7b81728d0701e93bd13cee4e88375ec9e9b17
treea45a9b3b1b5d59601675f55f5f25e0e893c11648
parent49d969bbb3ca7e738bc6ef560e44c0047a9925cc
ti: k3: common: Use coherent memory for shared data

HW_ASSISTED_COHERENCY implies something stronger than just hardware
coherent interconnect, specifically a DynamIQ capable ARM core.

For K3, lets use WARMBOOT_ENABLE_DCACHE_EARLY to enable caches early
and then let the caches get shut off on powerdown, to prevent data
corruption we also need to USE_COHERENT_MEM so that any accesses to
shared memory after this point is only to memory that is set as
non-cached for all cores.

Change-Id: Ib9337f012df0e0388237942607c501b6f3e2a949
Signed-off-by: Andrew F. Davis <afd@ti.com>
plat/ti/k3/common/plat_common.mk