Home
last modified time | relevance | path

Searched hist:"9 a006ad10509cf158089470ef713f7edde073eaf" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/qemu/common/
H A Dqemu_bl2_mem_params_desc.c9a006ad10509cf158089470ef713f7edde073eaf Thu May 17 20:19:35 UTC 2018 Radoslaw Biernacki <radoslaw.biernacki@linaro.org> 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
/rk3399_ARM-atf/plat/qemu/qemu/include/
H A Dplatform_def.h9a006ad10509cf158089470ef713f7edde073eaf Thu May 17 20:19:35 UTC 2018 Radoslaw Biernacki <radoslaw.biernacki@linaro.org> 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