blob: 4de001bcb5f3f86eb6f86baefe7aeb083945c0db [file] [log] [blame]
Ryan Harkin25cff832014-01-13 12:37:03 +00001#
2# Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are met:
6#
7# Redistributions of source code must retain the above copyright notice, this
8# list of conditions and the following disclaimer.
9#
10# Redistributions in binary form must reproduce the above copyright notice,
11# this list of conditions and the following disclaimer in the documentation
12# and/or other materials provided with the distribution.
13#
14# Neither the name of ARM nor the names of its contributors may be used
15# to endorse or promote products derived from this software without specific
16# prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28# POSSIBILITY OF SUCH DAMAGE.
29#
30
Soby Mathew5e5c2072014-04-07 15:28:55 +010031PLAT_INCLUDES := -Iplat/fvp/include/
Ryan Harkin25cff832014-01-13 12:37:03 +000032
Dan Handley176e7b42014-04-15 18:20:09 +010033PLAT_BL_COMMON_SOURCES := drivers/arm/pl011/pl011.c \
34 drivers/arm/pl011/pl011_console.c \
35 drivers/io/io_fip.c \
36 drivers/io/io_memmap.c \
37 drivers/io/io_semihosting.c \
38 lib/mmio.c \
39 lib/aarch64/sysreg_helpers.S \
40 lib/aarch64/xlat_tables.c \
41 lib/semihosting/semihosting.c \
42 lib/semihosting/aarch64/semihosting_call.S \
43 plat/fvp/plat_io_storage.c
Ryan Harkin25cff832014-01-13 12:37:03 +000044
Dan Handley176e7b42014-04-15 18:20:09 +010045BL1_SOURCES += drivers/arm/cci400/cci400.c \
46 plat/common/aarch64/platform_up_stack.S \
47 plat/fvp/bl1_plat_setup.c \
Dan Handley176e7b42014-04-15 18:20:09 +010048 plat/fvp/aarch64/plat_common.c \
49 plat/fvp/aarch64/plat_helpers.S
Ryan Harkin25cff832014-01-13 12:37:03 +000050
Dan Handley176e7b42014-04-15 18:20:09 +010051BL2_SOURCES += drivers/arm/tzc400/tzc400.c \
52 plat/common/aarch64/platform_up_stack.S \
53 plat/fvp/bl2_plat_setup.c \
54 plat/fvp/plat_security.c \
55 plat/fvp/aarch64/plat_common.c
Ryan Harkin25cff832014-01-13 12:37:03 +000056
Dan Handley176e7b42014-04-15 18:20:09 +010057BL31_SOURCES += drivers/arm/gic/gic_v2.c \
58 drivers/arm/gic/gic_v3.c \
59 drivers/arm/gic/aarch64/gic_v3_sysregs.S \
60 drivers/arm/cci400/cci400.c \
61 plat/common/aarch64/platform_mp_stack.S \
62 plat/fvp/bl31_plat_setup.c \
63 plat/fvp/plat_gic.c \
64 plat/fvp/plat_pm.c \
65 plat/fvp/plat_topology.c \
66 plat/fvp/aarch64/plat_helpers.S \
67 plat/fvp/aarch64/plat_common.c \
68 plat/fvp/drivers/pwrc/fvp_pwrc.c
Vikram Kanigiri96377452014-04-24 11:02:16 +010069
70ifeq (${RESET_TO_BL31}, 1)
71 BL31_SOURCES += drivers/arm/tzc400/tzc400.c \
72 plat/fvp/plat_security.c
73endif