pfc.mk 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/pfc/G2M/pfc_init_g2m.c
  8. BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
  9. BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
  10. BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
  11. else ifdef RCAR_LSI_CUT_COMPAT
  12. ifeq (${RCAR_LSI},${RZ_G2M})
  13. BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
  14. endif
  15. ifeq (${RCAR_LSI},${RZ_G2H})
  16. BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
  17. endif
  18. ifeq (${RCAR_LSI},${RZ_G2N})
  19. BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
  20. endif
  21. ifeq (${RCAR_LSI},${RZ_G2E})
  22. BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
  23. endif
  24. else
  25. ifeq (${RCAR_LSI},${RZ_G2M})
  26. BL2_SOURCES += drivers/renesas/rzg/pfc/G2M/pfc_init_g2m.c
  27. endif
  28. ifeq (${RCAR_LSI},${RZ_G2H})
  29. BL2_SOURCES += drivers/renesas/rzg/pfc/G2H/pfc_init_g2h.c
  30. endif
  31. ifeq (${RCAR_LSI},${RZ_G2N})
  32. BL2_SOURCES += drivers/renesas/rzg/pfc/G2N/pfc_init_g2n.c
  33. endif
  34. ifeq (${RCAR_LSI},${RZ_G2E})
  35. BL2_SOURCES += drivers/renesas/rzg/pfc/G2E/pfc_init_g2e.c
  36. endif
  37. endif
  38. BL2_SOURCES += drivers/renesas/rzg/pfc/pfc_init.c