blob: fc75ff353ccad7427f50d534df9f5a0b27b3b596 [file] [log] [blame]
Jorge Ramirez-Ortiza29d9a62017-06-28 10:11:31 +02001#
2# Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7NEED_BL33 := yes
8
9COLD_BOOT_SINGLE_CPU := 1
10PROGRAMMABLE_RESET_ADDRESS := 1
11CTX_INCLUDE_FPREGS := 1
12ENABLE_PLAT_COMPAT := 0
13ERRATA_A53_855873 := 1
14ERRATA_A53_835769 := 1
15ERRATA_A53_843419 := 1
16
17ARM_GIC_ARCH := 2
18$(eval $(call add_define,ARM_GIC_ARCH))
19
20PLAT_PL061_MAX_GPIOS := 104
21$(eval $(call add_define,PLAT_PL061_MAX_GPIOS))
22
23PLAT_INCLUDES := -Iplat/hisilicon/poplar/include \
24 -Iinclude/plat/arm/common/ \
25 -Iplat/hisilicon/poplar \
26 -Iinclude/common/tbbr \
27 -Iinclude/drivers/io
28
29PLAT_BL_COMMON_SOURCES := \
30 lib/aarch64/xlat_tables.c \
31 drivers/delay_timer/generic_delay_timer.c \
32 drivers/arm/gic/common/gic_common.c \
33 drivers/arm/gic/v2/gicv2_helpers.c \
34 drivers/delay_timer/delay_timer.c \
35 drivers/arm/pl011/pl011_console.S \
36 drivers/arm/gic/v2/gicv2_main.c \
37 plat/arm/common/aarch64/arm_helpers.S \
38 plat/arm/common/arm_gicv2.c \
39 plat/common/plat_gicv2.c \
40 plat/hisilicon/poplar/aarch64/platform_common.c
41
42BL1_SOURCES += \
43 lib/cpus/aarch64/cortex_a53.S \
44 drivers/arm/pl061/pl061_gpio.c \
45 drivers/io/io_storage.c \
46 drivers/io/io_block.c \
47 drivers/gpio/gpio.c \
48 drivers/io/io_fip.c \
49 drivers/io/io_memmap.c \
50 plat/hisilicon/poplar/bl1_plat_setup.c \
51 plat/hisilicon/poplar/plat_storage.c \
52
53
54BL2_SOURCES += \
55 drivers/arm/pl061/pl061_gpio.c \
56 drivers/io/io_storage.c \
57 drivers/io/io_block.c \
58 drivers/io/io_fip.c \
59 drivers/gpio/gpio.c \
60 drivers/io/io_memmap.c \
61 plat/hisilicon/poplar/bl2_plat_setup.c \
62 plat/hisilicon/poplar/plat_storage.c
63
64
65BL31_SOURCES += \
66 lib/cpus/aarch64/aem_generic.S \
67 lib/cpus/aarch64/cortex_a53.S \
68 plat/common/aarch64/plat_psci_common.c \
69 plat/hisilicon/poplar/bl31_plat_setup.c \
70 plat/hisilicon/poplar/plat_topology.c \
71 plat/hisilicon/poplar/plat_pm.c
72