qspi.mk 442 B

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright 2021 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifeq (${QSPI_ADDED},)
  7. QSPI_ADDED := 1
  8. QSPI_SOURCES := $(PLAT_DRIVERS_PATH)/qspi/qspi.c
  9. PLAT_INCLUDES += -I$(PLAT_DRIVERS_INCLUDE_PATH)/qspi
  10. ifeq (${BL_COMM_QSPI_NEEDED},yes)
  11. BL_COMMON_SOURCES += ${QSPI_SOURCES}
  12. else
  13. ifeq (${BL2_QSPI_NEEDED},yes)
  14. BL2_SOURCES += ${QSPI_SOURCES}
  15. endif
  16. ifeq (${BL31_QSPI_NEEDED},yes)
  17. BL31_SOURCES += ${QSPI_SOURCES}
  18. endif
  19. endif
  20. endif