arm-trusted-firmware/plat/rockchip
Heiko Stuebner 7f0b2e78e0 rockchip: really use base+size for secure ddr regions
The calls to secure ddr regions on rk3288 and rk3399 use parameters of
base and size - as it custom for specifying memory regions, but the
functions themself expect start and endpoints of the area.

This only works by chance for the TZRAM, as it starts a 0x0 and therefore
its end location is the same as its size.

To not fall into a trap later on adapt the functions to really take
base+size parameters.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Change-Id: Idb9fab38aa081f3335a4eca971e7b7f6757fbbab
2019-12-17 01:29:07 +01:00
..
common plat/rockchip: initialize reset and poweroff GPIOs with known invalid value 2019-11-17 12:38:24 -08:00
px30 rockchip: bring TZRAM_SIZE values in line 2019-12-17 01:29:07 +01:00
rk3288 rockchip: really use base+size for secure ddr regions 2019-12-17 01:29:07 +01:00
rk3328 rockchip: bring TZRAM_SIZE values in line 2019-12-17 01:29:07 +01:00
rk3368 rockchip: bring TZRAM_SIZE values in line 2019-12-17 01:29:07 +01:00
rk3399 rockchip: really use base+size for secure ddr regions 2019-12-17 01:29:07 +01:00