14f6ad66aSAchin Gupta# 2ab2d31edSDan Handley# Copyright (c) 2013, ARM Limited and Contributors. All rights reserved. 34f6ad66aSAchin Gupta# 44f6ad66aSAchin Gupta# Redistribution and use in source and binary forms, with or without 54f6ad66aSAchin Gupta# modification, are permitted provided that the following conditions are met: 64f6ad66aSAchin Gupta# 74f6ad66aSAchin Gupta# Redistributions of source code must retain the above copyright notice, this 84f6ad66aSAchin Gupta# list of conditions and the following disclaimer. 94f6ad66aSAchin Gupta# 104f6ad66aSAchin Gupta# Redistributions in binary form must reproduce the above copyright notice, 114f6ad66aSAchin Gupta# this list of conditions and the following disclaimer in the documentation 124f6ad66aSAchin Gupta# and/or other materials provided with the distribution. 134f6ad66aSAchin Gupta# 144f6ad66aSAchin Gupta# Neither the name of ARM nor the names of its contributors may be used 154f6ad66aSAchin Gupta# to endorse or promote products derived from this software without specific 164f6ad66aSAchin Gupta# prior written permission. 174f6ad66aSAchin Gupta# 184f6ad66aSAchin Gupta# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 194f6ad66aSAchin Gupta# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 204f6ad66aSAchin Gupta# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 214f6ad66aSAchin Gupta# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 224f6ad66aSAchin Gupta# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 234f6ad66aSAchin Gupta# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 244f6ad66aSAchin Gupta# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 254f6ad66aSAchin Gupta# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 264f6ad66aSAchin Gupta# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 274f6ad66aSAchin Gupta# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 284f6ad66aSAchin Gupta# POSSIBILITY OF SUCH DAMAGE. 294f6ad66aSAchin Gupta# 304f6ad66aSAchin Gupta 314f6ad66aSAchin Guptavpath %.c drivers/arm/interconnect/cci-400/ common/ lib/ \ 324f6ad66aSAchin Gupta drivers/arm/peripherals/pl011 plat/fvp common/psci \ 33*c81b1d0fSHarry Liebel lib/semihosting arch/aarch64/ lib/stdlib lib/sync/locks/bakery/ \ 34*c81b1d0fSHarry Liebel drivers/power/ arch/system/gic/ plat/fvp/aarch64/ 354f6ad66aSAchin Gupta 364f6ad66aSAchin Guptavpath %.S lib/arch/aarch64 common/psci \ 374f6ad66aSAchin Gupta lib/semihosting/aarch64 include/ plat/fvp/${ARCH} \ 384f6ad66aSAchin Gupta lib/sync/locks/exclusive plat/common/aarch64/ \ 394f6ad66aSAchin Gupta arch/system/gic/${ARCH} 404f6ad66aSAchin Gupta 414f6ad66aSAchin GuptaBL31_ASM_OBJS := bl31_entrypoint.o runtime_exceptions.o psci_entry.o \ 424f6ad66aSAchin Gupta spinlock.o gic_v3_sysregs.o fvp_helpers.o 434f6ad66aSAchin GuptaBL31_C_OBJS := bl31_main.o bl31_plat_setup.o bl31_arch_setup.o \ 444f6ad66aSAchin Gupta exception_handlers.o bakery_lock.o cci400.o \ 454f6ad66aSAchin Gupta fvp_common.o fvp_pm.o fvp_pwrc.o fvp_topology.o \ 4627866d84SSandrine Bailleux runtime_svc.o gic_v2.o psci_setup.o \ 474f6ad66aSAchin Gupta psci_common.o psci_afflvl_on.o psci_main.o \ 484f6ad66aSAchin Gupta psci_afflvl_off.o psci_afflvl_suspend.o 494f6ad66aSAchin Gupta 504f6ad66aSAchin GuptaBL31_ENTRY_POINT := bl31_entrypoint 514f6ad66aSAchin GuptaBL31_MAPFILE := bl31.map 524f6ad66aSAchin GuptaBL31_LINKERFILE := bl31.ld 534f6ad66aSAchin Gupta 544f6ad66aSAchin GuptaBL31_OBJS := $(BL31_C_OBJS) $(BL31_ASM_OBJS) 55