arm-trusted-firmware/drivers/st
Yann Gautier 84686ba347 stm32mp1: dynamically map DDR later and non-cacheable during its test
A speculative accesses to DDR could be done whereas it was not reachable
and could lead to bus stall.
To correct this the dynamic mapping in MMU is used.
A first mapping is done for DDR tests with MT_NON_CACHEABLE attribute,
once DDR access is setup. It is then unmapped and a new mapping DDR is done
with cacheable attribute (through MT_MEMORY) to speed-up BL33 (or OP-TEE)
load.

The disabling of cache during DDR tests is also removed, as now useless.
A call to new functions stm32mp_{,un}map_ddr_non_cacheable() is done
instead.

PLAT_XLAT_TABLES_DYNAMIC is activated globally as used in BL2 and BL32.

BL33 max size is also updated to take into account the secure and shared
memory areas. Those are used in OP-TEE case.

Change-Id: I22c48b4a48255ee264991c34ecbb15bfe87e67c3
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2020-03-26 18:33:39 +01:00
..
bsec bsec: move bsec_mode_is_closed_device() service to platform 2019-09-20 23:21:10 +02:00
clk stm32mp1: use a common function to check spinlock is available 2019-09-02 17:51:57 +02:00
crypto crypto: stm32_hash: Add HASH driver 2019-09-20 23:21:10 +02:00
ddr stm32mp1: dynamically map DDR later and non-cacheable during its test 2020-03-26 18:33:39 +01:00
fmc nand: stm32_fmc2_nand: correct xor_ecc.val assigned value 2020-03-23 16:42:33 +01:00
gpio gpio: stm32_gpio: do not mix error code types 2019-10-03 11:17:48 +02:00
i2c stm32mp1: update I2C and PMIC drivers 2019-02-14 11:20:23 +01:00
io io: io_stm32image: correct possible NULL pointer dereference 2020-03-23 16:42:37 +01:00
iwdg stm32mp1: add watchdog support 2019-09-02 17:25:08 +02:00
mmc mmc: stm32_sdmmc2: correctly manage block size 2019-09-02 17:53:16 +02:00
pmic stm32mp1: add support for LpDDR3 2019-09-02 17:52:29 +02:00
reset stm32mp1: add timeout detection in reset driver 2019-02-14 11:20:23 +01:00
spi spi: stm32_qspi: correct static analysis issues 2020-03-23 16:38:41 +01:00
uart/aarch32 stm32: Use generic console_t data structure 2020-02-25 09:34:38 +00:00