185135283SDan Handley# 285135283SDan Handley# Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved. 385135283SDan Handley# 485135283SDan Handley# Redistribution and use in source and binary forms, with or without 585135283SDan Handley# modification, are permitted provided that the following conditions are met: 685135283SDan Handley# 785135283SDan Handley# Redistributions of source code must retain the above copyright notice, this 885135283SDan Handley# list of conditions and the following disclaimer. 985135283SDan Handley# 1085135283SDan Handley# Redistributions in binary form must reproduce the above copyright notice, 1185135283SDan Handley# this list of conditions and the following disclaimer in the documentation 1285135283SDan Handley# and/or other materials provided with the distribution. 1385135283SDan Handley# 1485135283SDan Handley# Neither the name of ARM nor the names of its contributors may be used 1585135283SDan Handley# to endorse or promote products derived from this software without specific 1685135283SDan Handley# prior written permission. 1785135283SDan Handley# 1885135283SDan Handley# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 1985135283SDan Handley# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2085135283SDan Handley# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2185135283SDan Handley# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 2285135283SDan Handley# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2385135283SDan Handley# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2485135283SDan Handley# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2585135283SDan Handley# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2685135283SDan Handley# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2785135283SDan Handley# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2885135283SDan Handley# POSSIBILITY OF SUCH DAMAGE. 2985135283SDan Handley# 3085135283SDan Handley 3185135283SDan HandleyPLAT_INCLUDES := -Iplat/arm/board/juno/include 3285135283SDan Handley 3385135283SDan HandleyPLAT_BL_COMMON_SOURCES := plat/arm/board/juno/aarch64/juno_helpers.S 3485135283SDan Handley 3585135283SDan HandleyBL1_SOURCES += lib/cpus/aarch64/cortex_a53.S \ 36*0f829ea9SBrendan Jackman lib/cpus/aarch64/cortex_a57.S \ 37*0f829ea9SBrendan Jackman lib/cpus/aarch64/cortex_a72.S 3885135283SDan Handley 3985135283SDan HandleyBL2_SOURCES += plat/arm/board/juno/juno_security.c \ 4085135283SDan Handley 4185135283SDan HandleyBL31_SOURCES += lib/cpus/aarch64/cortex_a53.S \ 42c1bb8a05SSoby Mathew lib/cpus/aarch64/cortex_a57.S \ 43*0f829ea9SBrendan Jackman lib/cpus/aarch64/cortex_a72.S \ 44c1bb8a05SSoby Mathew plat/arm/board/juno/juno_pm.c \ 45c1bb8a05SSoby Mathew plat/arm/board/juno/juno_security.c 4685135283SDan Handley 4785135283SDan Handley# Enable workarounds for selected Cortex-A57 erratas. 4885135283SDan HandleyERRATA_A57_806969 := 0 4985135283SDan HandleyERRATA_A57_813420 := 1 5085135283SDan Handley 5185135283SDan Handley# Enable option to skip L1 data cache flush during the Cortex-A57 cluster 5285135283SDan Handley# power down sequence 5385135283SDan HandleySKIP_A57_L1_FLUSH_PWR_DWN := 1 5485135283SDan Handley 5538dce70fSSoby Mathew# Disable the PSCI platform compatibility layer 5638dce70fSSoby MathewENABLE_PLAT_COMPAT := 0 5738dce70fSSoby Mathew 5885135283SDan Handleyinclude plat/arm/board/common/board_css.mk 5985135283SDan Handleyinclude plat/arm/common/arm_common.mk 6085135283SDan Handleyinclude plat/arm/soc/common/soc_css.mk 6185135283SDan Handleyinclude plat/arm/css/common/css_common.mk 621779ba6bSJuan Castillo 631779ba6bSJuan Castilloifeq (${KEY_ALG},ecdsa) 641779ba6bSJuan Castillo $(error "ECDSA key algorithm is not fully supported on Juno.") 651779ba6bSJuan Castilloendif 66