blob: 226b22b943f7dbaa9afbd92822be89f68d1cc050 [file] [log] [blame]
#
# Copyright 2018-2020 NXP
#
# SPDX-License-Identifier: BSD-3-Clause
#
# board-specific build parameters
BOOT_MODE ?= flexspi_nor
BOARD ?= lx2160aqds
POVDD_ENABLE := no
NXP_COINED_BB := no
# DDR Compilation Configs
NUM_OF_DDRC := 1
DDRC_NUM_DIMM := 1
DDRC_NUM_CS := 2
DDR_ECC_EN := yes
#enable address decoding feature
DDR_ADDR_DEC := yes
APPLY_MAX_CDD := yes
# DDR Errata
ERRATA_DDR_A011396 := 1
ERRATA_DDR_A050450 := 1
# On-Board Flash Details
FLASH_TYPE := MT35XU512A
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.
FSPI_ERASE_4K := 0
# Platform specific features.
WARM_BOOT := yes
# Adding Platform files build files
BL2_SOURCES += ${BOARD_PATH}/ddr_init.c\
${BOARD_PATH}/platform.c
SUPPORTED_BOOT_MODE := flexspi_nor \
sd \
emmc
# Adding platform board build info
include plat/nxp/common/plat_make_helper/plat_common_def.mk
# Adding SoC build info
include plat/nxp/soc-lx2160a/soc.mk