diff options
author | Andrew F. Davis <afd@ti.com> | 2020-01-16 15:58:34 -0600 |
---|---|---|
committer | Andrew F. Davis <afd@ti.com> | 2020-01-27 13:26:01 -0500 |
commit | 32967a379c9fde59370a3cb2d53be085951202bf (patch) | |
tree | c0b201ea2e859c30080e67936c434f37571b8c80 /plat | |
parent | 592ede258dc109f3a153ca040f005b5c4dd224ce (diff) | |
download | arm-trusted-firmware-32967a379c9fde59370a3cb2d53be085951202bf.tar.gz |
ti: k3: drivers: ti_sci: Put sequence number in coherent memory
The current message sequence number is accessed both with caches on and
off so put this memory in the un-cached coherent section so accesses
are consistent and coherency is maintained.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Change-Id: Ieeefefeaffc691e4e4c4de7c74490d50ff9de807
Diffstat (limited to 'plat')
-rw-r--r-- | plat/ti/k3/common/drivers/ti_sci/ti_sci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c index d5bcee8c7..e390efee6 100644 --- a/plat/ti/k3/common/drivers/ti_sci/ti_sci.c +++ b/plat/ti/k3/common/drivers/ti_sci/ti_sci.c @@ -20,6 +20,9 @@ #include "ti_sci_protocol.h" #include "ti_sci.h" +#if USE_COHERENT_MEM +__section("tzfw_coherent_mem") +#endif static uint8_t message_sequence; /** |