platform.mk 621 B

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