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