arm-trusted-firmware/plat
Andre Przywara af2a4877a7 rpi: rpi3_pwr_domain_on(): Use MMIO accessor
When writing to arbitrary locations in memory using a constructed
pointer, there is no guarantee that the compiler does not optimise away
the access, since it cannot detect any dependency.

One typical solution is to use the "volatile" keyword, but using MMIO
accessors in usually the better answer, to avoid torn writes.

Replace the usage of an array with such an MMIO accessor function in
rpi3_pwr_domain_on(), to make sure the write is really happening.

Change-Id: Ia18163c95e92f1557471089fd18abc6dc7fee0c7
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-04-01 15:56:26 +01:00
..
allwinner allwinner: H6: Fix GPIO and CCU memory map addresses 2020-03-23 11:04:46 +00:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm Merge "plat: pass -D option to BL*_CPPFLAGS instead of BL*_CFLAGS" into integration 2020-03-31 18:49:48 +00:00
common Flush dcache when storing timestamp 2020-03-27 09:41:12 -05:00
hisilicon hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
imx Merge "plat: imx: imx8qx: provide debug uart num as build param" into integration 2020-03-31 21:27:39 +00:00
intel/soc Merge "intel: Enable EMAC PHY in Intel FPGA platform" into integration 2020-02-28 10:51:49 +00:00
layerscape LS 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
marvell TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
mediatek TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
nvidia/tegra Merge "Tegra: fixup GIC init from the 'on_finish' handler" into integration 2020-03-31 07:42:46 +00:00
qemu TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
renesas/rcar rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rockchip TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
rpi rpi: rpi3_pwr_domain_on(): Use MMIO accessor 2020-04-01 15:56:26 +01:00
socionext TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
st stm32mp1: use stm32mp_get_ddr_ns_size() function 2020-03-26 18:34:01 +01:00
ti/k3 TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
xilinx Merge "Create separate header for ARM specific SMCCC defines" into integration 2020-03-31 14:16:40 +00:00