1. 19 Jun, 2020 5 commits
  2. 18 Jun, 2020 1 commit
    • Marcin Wojtas's avatar
      plat: marvell: armada: modify PLAT_FAMILY name for 37xx SoCs · b5c850d4
      Marcin Wojtas authored
      
      
      The Marvell Armada 37xx SoCs-based platforms contain a bit
      awkward directory structure because the currently only one
      supported PLAT and PLAT_FAMILY are the same. Modify the latter
      to 'a3k' in order to improve it and keep plat/marvell/armada
      tree more consistent:
      
      plat/marvell/
      ├── armada
      │   ├── a3k
      │   │   ├── a3700
      
      [...]
      
      │   ├── a8k
      │   │   ├── a70x0
      
      [...]
      
      Change-Id: I693a6ef88e6ce49a326a3328875c90bbc186066a
      Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
      b5c850d4
  3. 06 Jun, 2020 11 commits
  4. 03 Jun, 2020 1 commit
    • Marcin Wojtas's avatar
      marvell: a8k: enable BL31 cache by default · 03363af8
      Marcin Wojtas authored
      
      
      BL31_CACHE_DISABLE flag was introduced as a work-around
      for the older SoC revisions. Since it is not relevant in the
      newest versions, toggle it to be disabled by default.
      One can still specify it by adding 'BL31_CACHE_DISABLE=1'
      string to the build command.
      
      Change-Id: I11b52dade3ff7f8ee643b8078c6e447c45946570
      Signed-off-by: default avatarMarcin Wojtas <mw@semihalf.com>
      03363af8
  5. 30 Mar, 2020 1 commit
    • Alexei Fedorov's avatar
      TF-A GICv3 driver: Introduce makefile · a6ea06f5
      Alexei Fedorov authored
      
      
      This patch moves all GICv3 driver files into new added
      'gicv3.mk' makefile for the benefit of the generic driver
      which can evolve in the future without affecting platforms.
      The patch adds GICv3 driver configuration flags
      'GICV3_IMPL', 'GICV3_IMPL_GIC600_MULTICHIP' and
      'GICV3_OVERRIDE_DISTIF_PWR_OPS' described in
      'GICv3 driver options' section of 'build-option.rst'
      document.
      
      NOTE: Platforms with GICv3 driver need to be modified to
      include 'drivers/arm/gic/v3/gicv3.mk' in their makefiles.
      
      Change-Id: If055f6770ff20f5dee5a3c99ae7ced7cdcac5c44
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      a6ea06f5
  6. 10 Mar, 2020 1 commit
  7. 25 Feb, 2020 3 commits
  8. 30 Jan, 2020 2 commits
  9. 24 Jan, 2020 1 commit
  10. 15 Jan, 2020 1 commit
    • Luka Kovacic's avatar
      a8k: Implement platform specific power off · 8c11ebfc
      Luka Kovacic authored
      
      
      Implements a way to add platform specific power off code to a
      Marvell Armada 8K platform.
      
      Marvell Armada 8K boards can now add a board/system_power.c file
      that contains a system_power_off() function.
      This function can now send a command to a power management MCU or
      other board periferals before shutting the board down.
      Signed-off-by: default avatarLuka Kovacic <luka.kovacic@sartura.hr>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Change-Id: Iaba20bc2f603195679c54ad12c0c18962dd8e3db
      ---
      I am working on a device that will be ported later, which has a
      custom power management MCU that handles LEDs, board power and fans
      and requires this separation.
      8c11ebfc
  11. 03 Oct, 2019 1 commit
    • Lionel Debieve's avatar
      delay: timeout detection support · 0711ee5c
      Lionel Debieve authored
      
      
      Introduce timeout_init_us/timeout_elapsed() delay tracking with CNTPCT.
      
      timeout_init_us(some_timeout_us); returns a reference to detect
      timeout for the provided microsecond delay value from current time.
      
      timeout_elapsed(reference) return true/false whether the reference
      timeout is elapsed.
      
      Cherry picked from OP-TEE implementation [1].
        [1] commit 33d30a74502b ("core: timeout detection support")
      
      Minor:
      - Remove stm32mp platform duplicated implementation.
      - Add new include in marvell ble.mk
      Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Change-Id: Iaef6d43c11a2e6992fb48efdc674a0552755ad9c
      0711ee5c
  12. 01 Aug, 2019 1 commit
    • Julius Werner's avatar
      Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ · d5dfdeb6
      Julius Werner authored
      
      
      NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.
      
      All common C compilers predefine a macro called __ASSEMBLER__ when
      preprocessing a .S file. There is no reason for TF-A to define it's own
      __ASSEMBLY__ macro for this purpose instead. To unify code with the
      export headers (which use __ASSEMBLER__ to avoid one extra dependency),
      let's deprecate __ASSEMBLY__ and switch the code base over to the
      predefined standard.
      
      Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      d5dfdeb6
  13. 16 Jul, 2019 2 commits
  14. 11 Jul, 2019 1 commit
  15. 28 Jun, 2019 1 commit
  16. 05 Apr, 2019 2 commits
  17. 01 Feb, 2019 2 commits
  18. 15 Jan, 2019 1 commit
  19. 09 Jan, 2019 1 commit
  20. 04 Jan, 2019 1 commit
    • Antonio Nino Diaz's avatar
      Sanitise includes across codebase · 09d40e0e
      Antonio Nino Diaz authored
      Enforce full include path for includes. Deprecate old paths.
      
      The following folders inside include/lib have been left unchanged:
      
      - include/lib/cpus/${ARCH}
      - include/lib/el3_runtime/${ARCH}
      
      The reason for this change is that having a global namespace for
      includes isn't a good idea. It defeats one of the advantages of having
      folders and it introduces problems that are sometimes subtle (because
      you may not know the header you are actually including if there are two
      of them).
      
      For example, this patch had to be created because two headers were
      called the same way: e0ea0928 ("Fix gpio includes of mt8173 platform
      to avoid collision."). More recently, this patch has had similar
      problems: 46f9b2c3 ("drivers: add tzc380 support").
      
      This problem was introduced in commit 4ecca339
      
       ("Move include and
      source files to logical locations"). At that time, there weren't too
      many headers so it wasn't a real issue. However, time has shown that
      this creates problems.
      
      Platforms that want to preserve the way they include headers may add the
      removed paths to PLAT_INCLUDES, but this is discouraged.
      
      Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8f
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      09d40e0e