platform.mk 737 B

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