Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 1 | # |
Pritesh Raithatha | 9eb5db5 | 2017-01-02 19:42:31 +0530 | [diff] [blame] | 2 | # Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | # platform configs |
Varun Wadekar | 4c7fa50 | 2016-12-13 13:13:42 -0800 | [diff] [blame] | 8 | ENABLE_AFI_DEVICE := 1 |
| 9 | $(eval $(call add_define,ENABLE_AFI_DEVICE)) |
| 10 | |
Varun Wadekar | a0f2697 | 2016-03-11 17:18:51 -0800 | [diff] [blame] | 11 | ENABLE_ROC_FOR_ORDERING_CLIENT_REQUESTS := 1 |
| 12 | $(eval $(call add_define,ENABLE_ROC_FOR_ORDERING_CLIENT_REQUESTS)) |
| 13 | |
Varun Wadekar | 94701ff | 2016-05-23 11:47:34 -0700 | [diff] [blame] | 14 | RELOCATE_TO_BL31_BASE := 1 |
| 15 | $(eval $(call add_define,RELOCATE_TO_BL31_BASE)) |
| 16 | |
Varun Wadekar | ad2824f | 2016-03-28 13:44:35 -0700 | [diff] [blame] | 17 | ENABLE_CHIP_VERIFICATION_HARNESS := 0 |
| 18 | $(eval $(call add_define,ENABLE_CHIP_VERIFICATION_HARNESS)) |
| 19 | |
Varun Wadekar | 6cb25f9 | 2016-12-19 11:17:54 -0800 | [diff] [blame] | 20 | ENABLE_SMMU_DEVICE := 1 |
| 21 | $(eval $(call add_define,ENABLE_SMMU_DEVICE)) |
| 22 | |
Pritesh Raithatha | 0de6e53 | 2017-01-24 13:49:46 +0530 | [diff] [blame] | 23 | NUM_SMMU_DEVICES := 1 |
| 24 | $(eval $(call add_define,NUM_SMMU_DEVICES)) |
| 25 | |
Varun Wadekar | 94701ff | 2016-05-23 11:47:34 -0700 | [diff] [blame] | 26 | RESET_TO_BL31 := 1 |
| 27 | |
| 28 | PROGRAMMABLE_RESET_ADDRESS := 1 |
| 29 | |
| 30 | COLD_BOOT_SINGLE_CPU := 1 |
| 31 | |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 32 | # platform settings |
Varun Wadekar | 94d8532 | 2015-11-30 12:05:04 -0800 | [diff] [blame] | 33 | TZDRAM_BASE := 0x30000000 |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 34 | $(eval $(call add_define,TZDRAM_BASE)) |
| 35 | |
| 36 | PLATFORM_CLUSTER_COUNT := 2 |
| 37 | $(eval $(call add_define,PLATFORM_CLUSTER_COUNT)) |
| 38 | |
| 39 | PLATFORM_MAX_CPUS_PER_CLUSTER := 4 |
| 40 | $(eval $(call add_define,PLATFORM_MAX_CPUS_PER_CLUSTER)) |
| 41 | |
Varun Wadekar | d64db96 | 2016-09-23 14:28:16 -0700 | [diff] [blame] | 42 | MAX_XLAT_TABLES := 24 |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 43 | $(eval $(call add_define,MAX_XLAT_TABLES)) |
| 44 | |
Varun Wadekar | d64db96 | 2016-09-23 14:28:16 -0700 | [diff] [blame] | 45 | MAX_MMAP_REGIONS := 24 |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 46 | $(eval $(call add_define,MAX_MMAP_REGIONS)) |
| 47 | |
| 48 | # platform files |
| 49 | PLAT_INCLUDES += -I${SOC_DIR}/drivers/include |
| 50 | |
| 51 | BL31_SOURCES += lib/cpus/aarch64/denver.S \ |
| 52 | lib/cpus/aarch64/cortex_a57.S \ |
Varun Wadekar | ee25e82 | 2017-06-28 14:38:19 -0700 | [diff] [blame] | 53 | ${COMMON_DIR}/drivers/gpcdma/gpcdma.c \ |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 54 | ${COMMON_DIR}/drivers/memctrl/memctrl_v2.c \ |
Varun Wadekar | bd2b414 | 2016-12-12 16:46:44 -0800 | [diff] [blame] | 55 | ${COMMON_DIR}/drivers/smmu/smmu.c \ |
Varun Wadekar | a0352ab | 2017-03-14 14:24:35 -0700 | [diff] [blame] | 56 | ${SOC_DIR}/drivers/mce/mce.c \ |
| 57 | ${SOC_DIR}/drivers/mce/ari.c \ |
| 58 | ${SOC_DIR}/drivers/mce/nvg.c \ |
| 59 | ${SOC_DIR}/drivers/mce/aarch64/nvg_helpers.S \ |
Pritesh Raithatha | 9eb5db5 | 2017-01-02 19:42:31 +0530 | [diff] [blame] | 60 | ${SOC_DIR}/plat_memctrl.c \ |
Varun Wadekar | 921b906 | 2015-08-25 17:03:14 +0530 | [diff] [blame] | 61 | ${SOC_DIR}/plat_psci_handlers.c \ |
| 62 | ${SOC_DIR}/plat_setup.c \ |
| 63 | ${SOC_DIR}/plat_secondary.c \ |
Varun Wadekar | 93bed2a | 2016-03-18 13:07:33 -0700 | [diff] [blame] | 64 | ${SOC_DIR}/plat_sip_calls.c \ |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 65 | ${SOC_DIR}/plat_smmu.c \ |
Varun Wadekar | 93bed2a | 2016-03-18 13:07:33 -0700 | [diff] [blame] | 66 | ${SOC_DIR}/plat_trampoline.S |
Pritesh Raithatha | 9eb5db5 | 2017-01-02 19:42:31 +0530 | [diff] [blame] | 67 | |