diff options
Diffstat (limited to 'plat/nxp/common/setup/core.mk')
-rw-r--r-- | plat/nxp/common/setup/core.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plat/nxp/common/setup/core.mk b/plat/nxp/common/setup/core.mk new file mode 100644 index 000000000..9b81f2d46 --- /dev/null +++ b/plat/nxp/common/setup/core.mk @@ -0,0 +1,20 @@ +# Copyright 2018-2020 NXP +# +# SPDX-License-Identifier: BSD-3-Clause +# +# +#------------------------------------------------------------------------------ +# +# Select the CORE files +# +# ----------------------------------------------------------------------------- + +CPU_LIBS := lib/cpus/${ARCH}/aem_generic.S + +ifeq (,$(filter $(CORE_TYPE),a53 a55 a57 a72 a75)) +$(error "CORE_TYPE not specified or incorrect") +else +CPU_LIBS += lib/cpus/${ARCH}/cortex_$(CORE_TYPE).S +endif + +# ----------------------------------------------------------------------------- |