| # Copyright 2018-2020 NXP |
| # SPDX-License-Identifier: BSD-3-Clause |
| # board-specific build parameters |
| # DDR Compilation Configs |
| #enable address decoding feature |
| XSPI_FLASH_SZ := 0x10000000 |
| NXP_XSPI_NOR_UNIT_SIZE := 0x20000 |
| BL2_BIN_XSPI_NOR_END_ADDRESS := 0x100000 |
| # CONFIG_FSPI_ERASE_4K is required to erase 4K sector sizes. This |
| # config is enabled for future use cases. |
| # Platform specific features. |
| # Adding Platform files build files |
| BL2_SOURCES += ${BOARD_PATH}/ddr_init.c\ |
| SUPPORTED_BOOT_MODE := flexspi_nor \ |
| # Adding platform board build info |
| include plat/nxp/common/plat_make_helper/plat_common_def.mk |
| include plat/nxp/soc-lx2160a/soc.mk |