Commit d58f3cac authored by Roberto Vargas's avatar Roberto Vargas
Browse files

Always define ARM_TSP_RAM_LOCATION_ID



ARM_TSP_RAM_LOCATION_ID was defined only in AARCH64, but the macro
was also used in AARCH32, and it meant that it was taking the value 0,
which happened to equal ARM_TRUSTED_SRAM_ID.

Change-Id: If9f4dbee1a2ba15e7806f2a03305b554bd327363
Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
parent 4d476e45
...@@ -21,14 +21,17 @@ ifeq (${ARCH}, aarch64) ...@@ -21,14 +21,17 @@ ifeq (${ARCH}, aarch64)
endif endif
# Process flags # Process flags
$(eval $(call add_define,ARM_TSP_RAM_LOCATION_ID))
# Process ARM_BL31_IN_DRAM flag # Process ARM_BL31_IN_DRAM flag
ARM_BL31_IN_DRAM := 0 ARM_BL31_IN_DRAM := 0
$(eval $(call assert_boolean,ARM_BL31_IN_DRAM)) $(eval $(call assert_boolean,ARM_BL31_IN_DRAM))
$(eval $(call add_define,ARM_BL31_IN_DRAM)) $(eval $(call add_define,ARM_BL31_IN_DRAM))
else
ARM_TSP_RAM_LOCATION_ID = ARM_TRUSTED_SRAM_ID
endif endif
$(eval $(call add_define,ARM_TSP_RAM_LOCATION_ID))
# For the original power-state parameter format, the State-ID can be encoded # For the original power-state parameter format, the State-ID can be encoded
# according to the recommended encoding or zero. This flag determines which # according to the recommended encoding or zero. This flag determines which
# State-ID encoding to be parsed. # State-ID encoding to be parsed.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment