blob: 1f7fad60c319295d9cb48b88770f198eee01d573 [file] [log] [blame]
Jiafei Pan10357d92022-01-20 17:42:39 +08001#
2# Copyright 2018-2022 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# board-specific build parameters
8
9BOOT_MODE ?= qspi
10BOARD := ls1046afrwy
11POVDD_ENABLE := no
12
13# DDR Compilation Configs
14CONFIG_STATIC_DDR := 0
15CONFIG_DDR_NODIMM := 1
16DDRC_NUM_DIMM := 0
17NUM_OF_DDRC := 1
18DDRC_NUM_CS := 1
19DDR_ECC_EN := yes
20
21# On-Board Flash Details
22QSPI_FLASH_SZ := 0x20000000
23NOR_FLASH_SZ := 0x20000000
24
25# Platform specific features.
26WARM_BOOT := no
27
28# Adding Platform files build files
29BL2_SOURCES += ${BOARD_PATH}/ddr_init.c\
30 ${BOARD_PATH}/platform.c
31
32SUPPORTED_BOOT_MODE := qspi \
33 sd
34
35# Adding platform board build info
36include plat/nxp/common/plat_make_helper/plat_common_def.mk
37
38# Adding SoC build info
39include plat/nxp/soc-ls1046a/soc.mk