qos.mk 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #
  2. # Copyright (c) 2015-2018, Renesas Electronics Corporation. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. ifeq (${RCAR_LSI},${RCAR_AUTO})
  7. # E3, H3N not available for LSI_AUTO
  8. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
  9. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
  10. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
  11. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
  12. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
  13. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
  14. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
  15. BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
  16. BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
  17. else ifdef RCAR_LSI_CUT_COMPAT
  18. ifeq (${RCAR_LSI},${RCAR_H3})
  19. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
  20. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
  21. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
  22. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
  23. endif
  24. ifeq (${RCAR_LSI},${RCAR_H3N})
  25. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
  26. endif
  27. ifeq (${RCAR_LSI},${RCAR_M3})
  28. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
  29. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
  30. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
  31. endif
  32. ifeq (${RCAR_LSI},${RCAR_M3N})
  33. BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
  34. endif
  35. ifeq (${RCAR_LSI},${RCAR_V3M})
  36. BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
  37. endif
  38. ifeq (${RCAR_LSI},${RCAR_E3})
  39. BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
  40. endif
  41. ifeq (${RCAR_LSI},${RCAR_D3})
  42. BL2_SOURCES += drivers/renesas/rcar/qos/D3/qos_init_d3.c
  43. endif
  44. else
  45. ifeq (${RCAR_LSI},${RCAR_H3})
  46. ifeq (${LSI_CUT},10)
  47. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v10.c
  48. else ifeq (${LSI_CUT},11)
  49. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v11.c
  50. else ifeq (${LSI_CUT},20)
  51. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v20.c
  52. else ifeq (${LSI_CUT},30)
  53. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
  54. else
  55. # LSI_CUT 30 or later
  56. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3_v30.c
  57. endif
  58. endif
  59. ifeq (${RCAR_LSI},${RCAR_H3N})
  60. ifeq (${LSI_CUT},30)
  61. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
  62. else
  63. # LSI_CUT 30 or later
  64. BL2_SOURCES += drivers/renesas/rcar/qos/H3/qos_init_h3n_v30.c
  65. endif
  66. endif
  67. ifeq (${RCAR_LSI},${RCAR_M3})
  68. ifeq (${LSI_CUT},10)
  69. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v10.c
  70. else ifeq (${LSI_CUT},11)
  71. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
  72. else ifeq (${LSI_CUT},13)
  73. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v11.c
  74. else ifeq (${LSI_CUT},30)
  75. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
  76. else
  77. # LSI_CUT 30 or later
  78. BL2_SOURCES += drivers/renesas/rcar/qos/M3/qos_init_m3_v30.c
  79. endif
  80. endif
  81. ifeq (${RCAR_LSI},${RCAR_M3N})
  82. ifeq (${LSI_CUT},10)
  83. BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
  84. else
  85. # LSI_CUT 10 or later
  86. BL2_SOURCES += drivers/renesas/rcar/qos/M3N/qos_init_m3n_v10.c
  87. endif
  88. endif
  89. ifeq (${RCAR_LSI},${RCAR_V3M})
  90. BL2_SOURCES += drivers/renesas/rcar/qos/V3M/qos_init_v3m.c
  91. endif
  92. ifeq (${RCAR_LSI},${RCAR_E3})
  93. ifeq (${LSI_CUT},10)
  94. BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
  95. else
  96. # LSI_CUT 10 or later
  97. BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_e3_v10.c
  98. endif
  99. endif
  100. ifeq (${RCAR_LSI},${RCAR_D3})
  101. BL2_SOURCES += drivers/renesas/rcar/qos/E3/qos_init_d3.c
  102. endif
  103. endif
  104. BL2_SOURCES += drivers/renesas/rcar/qos/qos_init.c