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