mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-06 23:51:23 +00:00
Calculating pie_fixup_size shouldn't be dependent on ENABLE_RME build flag. Enabling ENABLE_PIE, RESET_TO_BL2 along with ENABLE_RME results in the wrong pie offset that causes bl2 boot failure. PIE for BL2 image is supported only in case of RESET_TO_BL2=1 and BL2_IN_XIP_MEM=0. This removes the need for macro ENABLE_RME in the condition check. Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> Change-Id: I6167c214710efe40adf3ba56aef9e55afe9c2cc1