Platform: get addresses of memory regions based on linker symbols

Replaces the defines to linker symbols to get memory region's address:
  - Linking TF-M to two different partitions requires this change,
    because memory config is not static anymore, instead it is just
    finalized during linking time.
  - New load regions were added to linker config file to cover
    non-secure partition and secondary image partition.
  - Addresses of memory regions can be set only at linking time.
  - Linker symbols are used during HW configuration.

Change-Id: I05645120a3a48ced578d1aec685d82a3a27823d3
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/cmake/Common/CompilerGNUARMCommon.cmake b/cmake/Common/CompilerGNUARMCommon.cmake
index b3662f9..6a06781 100644
--- a/cmake/Common/CompilerGNUARMCommon.cmake
+++ b/cmake/Common/CompilerGNUARMCommon.cmake
@@ -92,8 +92,7 @@
 	#Create additional target if linker script needs to be pre-processed.
 	if (_MY_PARAMS_DEFINES OR _MY_PARAMS_INCLUDES)
 		#Name of pre-processed linker script file.
-		get_filename_component(FINAL_LD_FILE_NAME ${_MY_PARAMS_PATH} NAME)
-		set(FINAL_LD_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/${FINAL_LD_FILE_NAME}.i")
+		set(FINAL_LD_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/${_MY_PARAMS_TARGET}.ld.i")
 		#Name of the target doing the pre-processing
 		set(LD_PP_TARGET_NAME "${_MY_PARAMS_TARGET}_ldpp")
 		#The target definition.