1. 07 Dec, 2020 13 commits
  2. 04 Dec, 2020 1 commit
  3. 01 Dec, 2020 2 commits
  4. 30 Nov, 2020 1 commit
  5. 20 Nov, 2020 1 commit
  6. 19 Nov, 2020 5 commits
    • Manish V Badarkhe's avatar
      plat/nvidia: tegra: Rename SMC API · 840fa94a
      Manish V Badarkhe authored
      
      
      Renamed SMC API from "plat_smccc_feature_available" to
      "plat_is_smccc_feature_available" as per the current implementation.
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      Change-Id: Ib0fa400816fba61039c2029a9e127501a6a36811
      840fa94a
    • Saurabh Gorecha's avatar
      plat:qti Mandate SMC implementaion · 7a0f795e
      Saurabh Gorecha authored
      
      
      renamed smcc api with correct name  plat_is_smccc_feature_available
      
      Change-Id: I277ece02bffc2caa065256576c1a047dfcde1c92
      Signed-off-by: default avatarSaurabh Gorecha <sgorecha@codeaurora.org>
      7a0f795e
    • Pali Rohár's avatar
      plat: marvell: Update SUBVERSION to match Marvell's forked version · d22db1b0
      Pali Rohár authored
      
      
      Marvell's TF-A fork has SUBVERSION set to devel-18.12.2.
      
      The only differences between Marvell's devel-18.12.0 and devel-18.12.2
      versions are documentation updates and cherry-picked patches from TF-A
      upstream repository.
      
      So upstream TF-A has already all changes from Marvell's TF-A devel-18.12.2
      fork and therefore update SUBVERSION to reflect this state.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: I5ce946a5176a5cbf124acd8037392463d586b072
      d22db1b0
    • Pali Rohár's avatar
      plat: marvell: armada: Add new target mrvl_bootimage · 91bc2da7
      Pali Rohár authored
      
      
      This new target builds boot-image.bin binary as described in documentation.
      This image does not contain WTMI image and therefore WTP repository is not
      required for building.
      
      Having ability to build just this boot-image.bin binary without full
      flash-image.bin is useful for A3720 Turris MOX board which does not use
      Marvell's WTP and a3700_utils.
      
      To reduce duplicity between a8k and a3k code, define this new target and
      also definitions for $(BUILD_PLAT)/$(BOOT_IMAGE) in common include file
      marvell_common.mk.
      
      For this purpose it is needed to include plat/marvell/marvell.mk file from
      a3700_common.mk unconditionally (and not only when WTP is defined). Now
      when common file plat/marvell/marvell.mk does not contain definition for
      building $(DOIMAGETOOL), it is possible to move its inclusion at the top of
      the a3700_common.mk file.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: Ic58303b37a1601be9a06ff83b7a279cb7cfc8280
      91bc2da7
    • Pali Rohár's avatar
      plat: marvell: armada: a3k: Add support for building $(DOIMAGETOOL) · c6a7ab77
      Pali Rohár authored
      Current binary wtptp/linux/tbb_linux which is specified in $(DOIMAGETOOL)
      variable points to external pre-compiled Marvell x86_64 ELF linux binary
      from A3700-utils-marvell WTP repository.
      
      It means that currently it is not possible to compile TF-A for A3720 on
      other host platform then linux x86_64.
      
      Part of the A3700-utils-marvell WTP repository is also source code of
      $(DOIMAGETOOL) TBB_Linux tool.
      
      This change adds support for building $(DOIMAGETOOL) also for a3k platform.
      
      After running $(MAKE) at appropriate subdirectory of A3700-utils-marvell
      WTP repository, compiled TBB_linux tool will appear in WTP subdirectory
      wtptp/src/TBB_Linux/release/. So update also $(DOIMAGETOOL) variable to
      point to the correct location where TBB_linux was built.
      
      To build TBB_linux it is required to compile external Crypto++ library
      which is available at: https://github.com/weidai11/cryptopp.git
      
      
      
      User needs to set CRYPTOPP_PATH option to specify path to that library.
      
      After this change it is now possible to build whole firmware for A3720
      platform without requirement to use pre-compiled/proprietary x86_64
      executable binaries from Marvell.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: I6f26bd4356778a2f8f730a223067a2e550e6c8e0
      c6a7ab77
  7. 12 Nov, 2020 4 commits
  8. 28 Oct, 2020 4 commits
    • David Horstmann's avatar
      Use constant stack size with RECLAIM_INIT_CODE · 3ed5606b
      David Horstmann authored
      
      
      Currently, when RECLAIM_INIT_CODE is set, the
      stacks are scaled to ensure that the entirety
      of the init section can be reclaimed as stack.
      
      This causes an issue in lib/psci/aarch64/psci_helpers.S,
      where the stack size is used for cache operations in
      psci_do_pwrdown_cache_maintenance(). If the stacks
      are scaled, then the PSCI code may fail to invalidate
      some of the stack memory before power down.
      
      Resizing stacks is also not good for stability in general,
      since code that works with a small number of cores may
      overflow the stack when the number of cores is increased.
      
      Change to make every stack be PLATFORM_STACK_SIZE big,
      and allow the total stack to be smaller than the
      init section.
      
      Any pages of the init section not reclaimed as
      stack will be set to read-only and execute-never,
      for security.
      
      Change-Id: I10b3884981006431f2fcbec3864c81d4a8c246e8
      Signed-off-by: default avatarDavid Horstmann <david.horstmann@arm.com>
      3ed5606b
    • Dehui Sun's avatar
      mediatek: mt8192: add timer support · 4a128018
      Dehui Sun authored
      
      
      add timer driver.
      Signed-off-by: default avatarDehui Sun <dehui.sun@mediatek.com>
      Change-Id: I07448d85a15bb14577b05e4f302860d609420ba7
      4a128018
    • Nina Wu's avatar
      mediatek: mt8192: Add reboot function for PSCI · 0f408247
      Nina Wu authored
      
      
      Add system_reset function in psci ops
      
      Change-Id: If85be70b8ae9d6487e02626356f0ff1e78b76de9
      Signed-off-by: default avatarNina Wu <nina-cm.wu@mediatek.com>
      0f408247
    • gtk_pangao's avatar
      mediatek: mt8192: add sys_cirq driver · b6cec337
      gtk_pangao authored
      
      
      1.add sys_cirq driver
      2.add gic api for cirq
      
      Change-Id: Ie6802d6ddcf7dde3412a050736dfdc85f97cb51b
      Signed-off-by: default avatargtk_pangao <gtk_pangao@mediatek.com>
      b6cec337
  9. 27 Oct, 2020 9 commits