| 1 |
# |
| 2 |
# Copyright 2020-2021 NXP |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: BSD-3-Clause |
| 5 |
# |
| 6 |
|
| 7 |
# Board-specific build parameters |
| 8 |
BOOT_MODE ?= flexspi_nor |
| 9 |
BOARD := ls1028ardb |
| 10 |
POVDD_ENABLE := no |
| 11 |
WARM_BOOT := no |
| 12 |
|
| 13 |
# DDR build parameters |
| 14 |
NUM_OF_DDRC := 1 |
| 15 |
CONFIG_DDR_NODIMM := 1 |
| 16 |
DDR_ECC_EN := yes |
| 17 |
|
| 18 |
# On-board flash |
| 19 |
FLASH_TYPE := MT35XU02G |
| 20 |
XSPI_FLASH_SZ := 0x10000000 |
| 21 |
|
| 22 |
BL2_SOURCES += ${BOARD_PATH}/ddr_init.c \ |
| 23 |
${BOARD_PATH}/platform.c |
| 24 |
|
| 25 |
SUPPORTED_BOOT_MODE := flexspi_nor \ |
| 26 |
sd \ |
| 27 |
emmc |
| 28 |
|
| 29 |
# Add platform board build info |
| 30 |
include plat/nxp/common/plat_make_helper/plat_common_def.mk |
| 31 |
|
| 32 |
# Add SoC build info |
| 33 |
include plat/nxp/soc-ls1028a/soc.mk |