xref: /rk3399_ARM-atf/plat/allwinner/sun50i_r329/platform.mk (revision abd63ed0c575a2517c43fe8dc4321d6e9fc512c3)
1*13bacd3bSIcenowy Zheng#
2*13bacd3bSIcenowy Zheng# Copyright (c) 2021 Sipeed
3*13bacd3bSIcenowy Zheng#
4*13bacd3bSIcenowy Zheng# SPDX-License-Identifier: BSD-3-Clause
5*13bacd3bSIcenowy Zheng#
6*13bacd3bSIcenowy Zheng
7*13bacd3bSIcenowy Zheng# Without a management processor there is no SCPI support.
8*13bacd3bSIcenowy ZhengSUNXI_PSCI_USE_SCPI	:=	0
9*13bacd3bSIcenowy ZhengSUNXI_PSCI_USE_NATIVE	:=	1
10*13bacd3bSIcenowy Zheng
11*13bacd3bSIcenowy Zheng# The differences between the platforms are covered by the include files.
12*13bacd3bSIcenowy Zhenginclude plat/allwinner/common/allwinner-common.mk
13*13bacd3bSIcenowy Zheng
14*13bacd3bSIcenowy Zheng# the above could be overwritten on the command line
15*13bacd3bSIcenowy Zhengifeq (${SUNXI_PSCI_USE_SCPI}, 1)
16*13bacd3bSIcenowy Zheng    $(error "R329 does not support SCPI PSCI ops")
17*13bacd3bSIcenowy Zhengendif
18*13bacd3bSIcenowy Zheng
19*13bacd3bSIcenowy Zheng# Put NOBITS memory in the first 64K of SRAM A2, overwriting U-Boot's SPL.
20*13bacd3bSIcenowy ZhengSEPARATE_NOBITS_REGION	:=	1
21