summaryrefslogtreecommitdiffstats
path: root/plat/nxp/soc-ls1028a/ls1028ardb/platform.mk
blob: c4550006ee96c41c67a213c56dd2c9d97f7f575b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Copyright 2020-2021 NXP
#
# SPDX-License-Identifier: BSD-3-Clause
#

# Board-specific build parameters
BOOT_MODE	?=	flexspi_nor
BOARD		:=	ls1028ardb
POVDD_ENABLE	:=	no
WARM_BOOT	:=	no

# DDR build parameters
NUM_OF_DDRC		:=	1
CONFIG_DDR_NODIMM	:=	1
DDR_ECC_EN		:=	yes

# On-board flash
FLASH_TYPE	:=	MT35XU02G
XSPI_FLASH_SZ	:=	0x10000000

BL2_SOURCES	+=	${BOARD_PATH}/ddr_init.c \
			${BOARD_PATH}/platform.c

SUPPORTED_BOOT_MODE	:=	flexspi_nor	\
				sd		\
				emmc

# Add platform board build info
include plat/nxp/common/plat_make_helper/plat_common_def.mk

# Add SoC build info
include plat/nxp/soc-ls1028a/soc.mk