Sheetal Tigadoli | 13680c9 | 2019-12-13 10:39:06 +0530 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (c) 2019-2020, Broadcom |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | # Enable workaround for ERRATA_A72_859971 |
| 8 | ERRATA_A72_859971 := 1 |
| 9 | |
| 10 | # Cache Coherency Interconnect Driver needed |
| 11 | DRIVER_CC_ENABLE := 1 |
| 12 | $(eval $(call add_define,DRIVER_CC_ENABLE)) |
| 13 | |
| 14 | USE_CRMU_SRAM := yes |
| 15 | |
| 16 | # Use single cluster |
| 17 | ifeq (${USE_SINGLE_CLUSTER},yes) |
| 18 | $(info Using Single Cluster) |
| 19 | $(eval $(call add_define,USE_SINGLE_CLUSTER)) |
| 20 | endif |
| 21 | |
| 22 | ifeq (${BOARD_CFG},) |
| 23 | BOARD_CFG := bcm958742k |
| 24 | endif |
| 25 | |
| 26 | # For testing purposes, use memsys stubs. Remove once memsys is fully tested. |
| 27 | USE_MEMSYS_STUBS := yes |
| 28 | |
| 29 | # Default, use BL1_RW area |
| 30 | ifneq (${BL2_USE_BL1_RW},no) |
| 31 | $(eval $(call add_define,USE_BL1_RW)) |
| 32 | endif |
| 33 | |
| 34 | # Default soft reset is L3 |
| 35 | $(eval $(call add_define,CONFIG_SOFT_RESET_L3)) |
| 36 | |
| 37 | include plat/brcm/board/common/board_common.mk |
| 38 | |
| 39 | SOC_DIR := brcm/board/stingray |
| 40 | |
| 41 | PLAT_INCLUDES += -Iplat/${SOC_DIR}/include/ \ |
| 42 | -Iinclude/plat/brcm/common/ \ |
| 43 | -Iplat/brcm/common/ |
| 44 | |
| 45 | PLAT_BL_COMMON_SOURCES += lib/cpus/aarch64/cortex_a72.S \ |
| 46 | plat/${SOC_DIR}/aarch64/plat_helpers.S \ |
| 47 | drivers/ti/uart/aarch64/16550_console.S \ |
| 48 | drivers/arm/tzc/tzc400.c |