1. 25 Feb, 2020 1 commit
    • Ahmad Fatoum's avatar
      stm32mp1: platform.mk: use PHONY for the appropriate targets · 17abf947
      Ahmad Fatoum authored
      Currently, building TF-A for STM32MP1 triggers a full rebuild,
      avoid this by removing the .PHONY: specification for the final image and
      replace it by specifying PHONYness for the targets that don't actually
      produce file output.
      
      This will come in handy in follow-up commits, when implicit rules are
      introduced, as implicit rule search is skipped for .PHONY targets.
      
      Change-Id: Ib9966479032b081a54123b99f889760e85639f19
      Fixes: f74cbc93
      
       ("stm32mp1: Link BL2, BL32 and DTB in one binary")
      Signed-off-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
      17abf947
  2. 28 Jan, 2020 1 commit
    • Madhukar Pappireddy's avatar
      Enable -Wredundant-decls warning check · ca661a00
      Madhukar Pappireddy authored
      
      
      This flag warns if anything is declared more than once in the same
      scope, even in cases where multiple declaration is valid and changes
      nothing.
      
      Consequently, this patch also fixes the issues reported by this
      flag. Consider the following two lines of code from two different source
      files(bl_common.h and bl31_plat_setup.c):
      
      IMPORT_SYM(uintptr_t, __RO_START__, BL_CODE_BASE);
      IMPORT_SYM(unsigned long, __RO_START__, BL2_RO_BASE);
      
      The IMPORT_SYM macro which actually imports a linker symbol as a C expression.
      The macro defines the __RO_START__ as an extern variable twice, one for each
      instance. __RO_START__ symbol is defined by the linker script to mark the start
      of the Read-Only area of the memory map.
      
      Essentially, the platform code redefines the linker symbol with a different
      (relevant) name rather than using the standard symbol. A simple solution to
      fix this issue in the platform code for redundant declarations warning is
      to remove the second IMPORT_SYM and replace it with following assignment
      
      static const unsigned long BL2_RO_BASE = BL_CODE_BASE;
      
      Change-Id: If4835d1ee462d52b75e5afd2a59b64828707c5aa
      Signed-off-by: default avatarMadhukar Pappireddy <madhukar.pappireddy@arm.com>
      ca661a00
  3. 24 Jan, 2020 1 commit
  4. 20 Jan, 2020 6 commits
  5. 27 Nov, 2019 1 commit
  6. 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
  7. 23 Sep, 2019 1 commit
    • Lionel Debieve's avatar
      stm32mp1: add authentication support for stm32image · 4bdb1a7a
      Lionel Debieve authored
      
      
      This commit adds authentication binary support for STM32MP1.
      It prints the bootrom authentication result if signed
      image is used and authenticates the next loaded STM32 images.
      It also enables the dynamic translation table support
      (PLAT_XLAT_TABLES_DYNAMIC) to use bootrom services.
      Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
      Change-Id: Iba706519e0dc6b6fae1f3dd498383351f0f75f51
      4bdb1a7a
  8. 20 Sep, 2019 1 commit
  9. 10 Sep, 2019 1 commit
  10. 02 Sep, 2019 9 commits
  11. 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
  12. 28 Jun, 2019 1 commit
  13. 17 Jun, 2019 7 commits
  14. 23 Apr, 2019 4 commits
  15. 07 Mar, 2019 1 commit
  16. 20 Feb, 2019 1 commit
  17. 14 Feb, 2019 2 commits