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