platform.mk 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #
  2. # Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms, with or without
  5. # modification, are permitted provided that the following conditions are met:
  6. #
  7. # Redistributions of source code must retain the above copyright notice, this
  8. # list of conditions and the following disclaimer.
  9. #
  10. # Redistributions in binary form must reproduce the above copyright notice,
  11. # this list of conditions and the following disclaimer in the documentation
  12. # and/or other materials provided with the distribution.
  13. #
  14. # Neither the name of ARM nor the names of its contributors may be used
  15. # to endorse or promote products derived from this software without specific
  16. # prior written permission.
  17. #
  18. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  19. # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  20. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  21. # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
  22. # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  23. # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  24. # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  25. # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  26. # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  27. # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  28. # POSSIBILITY OF SUCH DAMAGE.
  29. #
  30. #
  31. # No additional platform system include directories required
  32. #
  33. # PLAT_INCLUDES :=
  34. PLAT_BL1_C_VPATH := drivers/arm/cci400 \
  35. drivers/arm/pl011 \
  36. lib/${ARCH} \
  37. lib/semihosting \
  38. lib/stdlib \
  39. drivers/io
  40. PLAT_BL1_S_VPATH := lib/semihosting/${ARCH}
  41. PLAT_BL2_C_VPATH := drivers/arm/cci400 \
  42. drivers/arm/pl011 \
  43. drivers/arm/tzc400 \
  44. lib/${ARCH} \
  45. lib/stdlib \
  46. lib/semihosting \
  47. drivers/io
  48. PLAT_BL2_S_VPATH := lib/semihosting/${ARCH}
  49. PLAT_BL31_C_VPATH := drivers/arm/cci-400 \
  50. drivers/arm/pl011 \
  51. lib/${ARCH} \
  52. lib/semihosting \
  53. lib/stdlib \
  54. drivers/power \
  55. drivers/io
  56. PLAT_BL31_S_VPATH := lib/semihosting/${ARCH}
  57. PLAT_BL_COMMON_SOURCES := semihosting_call.S \
  58. mmio.c \
  59. pl011_console.c \
  60. pl011.c \
  61. semihosting.c \
  62. sysreg_helpers.S \
  63. plat_io_storage.c \
  64. io_semihosting.c \
  65. io_fip.c \
  66. io_memmap.c \
  67. xlat_tables.c
  68. BL1_SOURCES += bl1_plat_setup.c \
  69. bl1_plat_helpers.S \
  70. plat_helpers.S \
  71. platform_up_stack.S \
  72. plat_common.c \
  73. cci400.c
  74. BL2_SOURCES += bl2_plat_setup.c \
  75. platform_up_stack.S \
  76. plat_common.c \
  77. plat_security.c \
  78. tzc400.c
  79. BL31_SOURCES += bl31_plat_setup.c \
  80. plat_helpers.S \
  81. platform_mp_stack.S \
  82. plat_common.c \
  83. plat_pm.c \
  84. plat_topology.c \
  85. plat_gic.c \
  86. fvp_pwrc.c \
  87. cci400.c \
  88. gic_v2.c \
  89. gic_v3.c