mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
fix(nuvoton): fix typo in platform.mk
Fix typo of SPMD_SPM_AT_SEL2 in platform.mk Signed-off-by: Margarita Glushkin <rutigl@gmail.com> Change-Id: I06cfe2f1f0783edff513d83fef08eeed5f4fc58b
This commit is contained in:
parent
abc2919c6c
commit
c7efb78f8e
2 changed files with 1 additions and 45 deletions
|
@ -47,27 +47,12 @@ static entry_point_info_t bl33_image_ep_info;
|
|||
BL31_END - BL31_START, \
|
||||
MT_MEMORY | MT_RW | EL3_PAS)
|
||||
|
||||
#if RECLAIM_INIT_CODE
|
||||
IMPORT_SYM(unsigned long, __INIT_CODE_START__, BL_INIT_CODE_BASE);
|
||||
IMPORT_SYM(unsigned long, __INIT_CODE_END__, BL_CODE_END_UNALIGNED);
|
||||
|
||||
#define BL_INIT_CODE_END ((BL_CODE_END_UNALIGNED + PAGE_SIZE - 1) & \
|
||||
~(PAGE_SIZE - 1))
|
||||
|
||||
#define MAP_BL_INIT_CODE MAP_REGION_FLAT( \
|
||||
BL_INIT_CODE_BASE, \
|
||||
BL_INIT_CODE_END - \
|
||||
BL_INIT_CODE_BASE, \
|
||||
MT_CODE | MT_SECURE)
|
||||
#endif /* RECLAIM_INIT_CODE */
|
||||
|
||||
#if SEPARATE_NOBITS_REGION
|
||||
#define MAP_BL31_NOBITS MAP_REGION_FLAT( \
|
||||
BL31_NOBITS_BASE, \
|
||||
BL31_NOBITS_LIMIT - \
|
||||
BL31_NOBITS_BASE, \
|
||||
MT_MEMORY | MT_RW | EL3_PAS)
|
||||
|
||||
#endif /* SEPARATE_NOBITS_REGION */
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -324,9 +309,6 @@ void __init npcm845x_bl31_plat_arch_setup(void)
|
|||
{
|
||||
const mmap_region_t bl_regions[] = {
|
||||
MAP_BL31_TOTAL,
|
||||
#if RECLAIM_INIT_CODE
|
||||
MAP_BL_INIT_CODE,
|
||||
#endif /* RECLAIM_INIT_CODE */
|
||||
#if SEPARATE_NOBITS_REGION
|
||||
MAP_BL31_NOBITS,
|
||||
#endif /* SEPARATE_NOBITS_REGION */
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# This is a debug flag for bring-up. It allows reducing CPU numbers
|
||||
# SECONDARY_BRINGUP := 1
|
||||
RESET_TO_BL31 := 1
|
||||
PMD_SPM_AT_SEL2 := 0
|
||||
SPMD_SPM_AT_SEL2 := 0
|
||||
#temporary until the RAM size is reduced
|
||||
USE_COHERENT_MEM := 1
|
||||
|
||||
|
@ -21,29 +21,12 @@ ifeq (${ARCH}, aarch64)
|
|||
# Trusted DRAM (if available) or the TZC secured area of DRAM.
|
||||
# TZC secured DRAM is the default.
|
||||
|
||||
ARM_TSP_RAM_LOCATION ?= dram
|
||||
|
||||
ifeq (${ARM_TSP_RAM_LOCATION}, tsram)
|
||||
ARM_TSP_RAM_LOCATION_ID = ARM_TRUSTED_SRAM_ID
|
||||
else ifeq (${ARM_TSP_RAM_LOCATION}, tdram)
|
||||
ARM_TSP_RAM_LOCATION_ID = ARM_TRUSTED_DRAM_ID
|
||||
else ifeq (${ARM_TSP_RAM_LOCATION}, dram)
|
||||
ARM_TSP_RAM_LOCATION_ID = ARM_DRAM_ID
|
||||
else
|
||||
$(error "Unsupported ARM_TSP_RAM_LOCATION value")
|
||||
endif
|
||||
|
||||
# Process flags
|
||||
# Process ARM_BL31_IN_DRAM flag
|
||||
ARM_BL31_IN_DRAM := 0
|
||||
$(eval $(call assert_boolean,ARM_BL31_IN_DRAM))
|
||||
$(eval $(call add_define,ARM_BL31_IN_DRAM))
|
||||
else
|
||||
ARM_TSP_RAM_LOCATION_ID = ARM_TRUSTED_SRAM_ID
|
||||
endif
|
||||
|
||||
$(eval $(call add_define,ARM_TSP_RAM_LOCATION_ID))
|
||||
|
||||
# For the original power-state parameter format, the State-ID can be encoded
|
||||
# according to the recommended encoding or zero. This flag determines which
|
||||
# State-ID encoding to be parsed.
|
||||
|
@ -370,12 +353,6 @@ $(info Including ${IMG_PARSER_LIB_MK})
|
|||
include ${IMG_PARSER_LIB_MK}
|
||||
endif
|
||||
|
||||
ifeq (${RECLAIM_INIT_CODE}, 1)
|
||||
ifeq (${ARM_XLAT_TABLES_LIB_V1}, 1)
|
||||
$(error "To reclaim init code xlat tables v2 must be used")
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (${MEASURED_BOOT},1)
|
||||
MEASURED_BOOT_MK := drivers/measured_boot/measured_boot.mk
|
||||
$(info Including ${MEASURED_BOOT_MK})
|
||||
|
@ -392,6 +369,3 @@ BL2U_SOURCES :=
|
|||
|
||||
DEBUG_CONSOLE ?= 0
|
||||
$(eval $(call add_define,DEBUG_CONSOLE))
|
||||
|
||||
$(eval $(call add_define,ARM_TSP_RAM_LOCATION_ID))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue