qos.mk 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Copyright (c) 2020-2021, Renesas Electronics Corporation. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifeq (${RCAR_LSI},${RCAR_AUTO})
  7. BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
  8. BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
  9. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
  10. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
  11. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
  12. BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
  13. else ifeq (${RCAR_LSI_CUT_COMPAT},1)
  14. ifeq (${RCAR_LSI},${RZ_G2M})
  15. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
  16. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
  17. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
  18. endif
  19. ifeq (${RCAR_LSI},${RZ_G2H})
  20. BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
  21. endif
  22. ifeq (${RCAR_LSI},${RZ_G2N})
  23. BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
  24. endif
  25. ifeq (${RCAR_LSI},${RZ_G2E})
  26. BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
  27. endif
  28. else
  29. ifeq (${RCAR_LSI},${RZ_G2M})
  30. ifeq (${LSI_CUT},10)
  31. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v10.c
  32. else ifeq (${LSI_CUT},11)
  33. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
  34. else ifeq (${LSI_CUT},13)
  35. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v11.c
  36. else ifeq (${LSI_CUT},30)
  37. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
  38. else
  39. # LSI_CUT 30 or later
  40. BL2_SOURCES += drivers/renesas/rzg/qos/G2M/qos_init_g2m_v30.c
  41. endif
  42. endif
  43. ifeq (${RCAR_LSI},${RZ_G2H})
  44. BL2_SOURCES += drivers/renesas/rzg/qos/G2H/qos_init_g2h_v30.c
  45. endif
  46. ifeq (${RCAR_LSI},${RZ_G2N})
  47. ifeq (${LSI_CUT},10)
  48. BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
  49. else
  50. # LSI_CUT 10 or later
  51. BL2_SOURCES += drivers/renesas/rzg/qos/G2N/qos_init_g2n_v10.c
  52. endif
  53. endif
  54. ifeq (${RCAR_LSI},${RZ_G2E})
  55. BL2_SOURCES += drivers/renesas/rzg/qos/G2E/qos_init_g2e_v10.c
  56. endif
  57. endif
  58. BL2_SOURCES += drivers/renesas/rzg/qos/qos_init.c