arm-trusted-firmware/plat
Radoslaw Biernacki 9a006ad105 qemu: Simplify the image size calculation
Patch introduce the macro NS_IMAGE_MAX_SIZE to simplify the image size
calculation. Use of additional parenthesis removes the possibility of
improper calculations due nested macro expansion for subtraction.
In case of platforms with DRAM window over 32bits, patch also removes
potential problems with type casting, as meminfo.image_size is uint32_t
but macro calculations were done in 64bit space.

Signed-off-by: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>
Change-Id: I2d05a2d9dd6000dba6114df53262995cf85af018
2019-09-18 15:58:13 +02:00
..
allwinner Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
amlogic amlogic: console: Move console driver to common directory 2019-09-12 19:18:04 +01:00
arm Merge "Refactor ARMv8.3 Pointer Authentication support code" into integration 2019-09-13 15:22:23 +00:00
common Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00
hisilicon Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
imx Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
intel/soc Invalidate dcache build option for bl2 entry at EL3 2019-09-12 12:36:31 +00:00
layerscape Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
marvell Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
mediatek Merge changes I08cf22df,I535ee414,Ie84cfc96,I8c35ce4e,If7649764, ... into integration 2019-09-13 11:51:49 +00:00
nvidia/tegra Tegra: memctrl_v2: fix "overflow before widen" coverity issue 2019-09-05 08:40:38 -07:00
qemu qemu: Simplify the image size calculation 2019-09-18 15:58:13 +02:00
renesas/rcar rcar_get3: drivers: ddr: Partly unify register macros between DDR A and B 2019-08-29 13:02:30 +02:00
rockchip Merge changes from topic "rockchip-uart-fixes" into integration 2019-08-15 15:30:13 +00:00
rpi rpi3: Do prescaler and control setup in C 2019-09-13 16:54:21 +01:00
socionext uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver 2019-09-03 09:08:16 +00:00
st stm32mp1: manage CONSOLE_FLAG_TRANSLATE_CRLF and cleanup driver 2019-09-10 17:21:58 +02:00
ti/k3 ti: k3: common: Trap all asynchronous bus errors to EL3 2019-07-04 12:14:46 -04:00
xilinx plat: xilinx: zynqmp: Initialize IPI table from zynqmp_config_setup() 2019-09-10 12:25:56 -07:00