platform.mk 726 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 := ls1046ardb
  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. emmc
  27. # Adding platform board build info
  28. include plat/nxp/common/plat_make_helper/plat_common_def.mk
  29. # Adding SoC build info
  30. include plat/nxp/soc-ls1046a/soc.mk