1. 23 Mar, 2020 2 commits
    • Yann Gautier's avatar
      plat/st: correctly check pwr-regulators node · e9d1e5af
      Yann Gautier authored
      
      
      This warning was issued by cppcheck in our downstream code:
      [plat/st/common/stm32mp_dt.c:629] -> [plat/st/common/stm32mp_dt.c:634]:
       (warning) Identical condition 'node<0', second condition is always false
      
      The second test has to check variable pwr_regulators_node.
      
      Change-Id: I4a20c4a3ac0ef0639c2df36309d90a61c02b511f
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      e9d1e5af
    • Yann Gautier's avatar
      plat/st: correct static analysis tool warning · cd4941de
      Yann Gautier authored
      
      
      Correct the following sparse warnings:
      plat/st/common/stm32mp_dt.c:103:5: warning:
       symbol 'fdt_get_node_parent_address_cells' was not declared.
       Should it be static?
      plat/st/common/stm32mp_dt.c:123:5: warning:
       symbol 'fdt_get_node_parent_size_cells' was not declared.
       Should it be static?
      
      As those 2 functions are only used by assert(), put them under
      ENABLE_ASSERTIONS flag.
      
      Change-Id: Iad721f12128df83a3de3f53e7920a9c1dce64c56
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      cd4941de
  2. 20 Jan, 2020 5 commits
  3. 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
  4. 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
  5. 20 Sep, 2019 1 commit
  6. 02 Sep, 2019 6 commits
  7. 17 Jun, 2019 3 commits
  8. 23 Apr, 2019 2 commits
    • Yann Gautier's avatar
      stm32mp1: add OP-TEE support · 1989a19c
      Yann Gautier authored
      
      
      Support booting OP-TEE as BL32 boot stage and secure runtime
      service.
      
      OP-TEE executes in internal RAM and uses a secure DDR area to store
      the pager pagestore. Memory mapping and TZC are configured accordingly
      prior OP-TEE boot. OP-TEE image is expected in OP-TEE v2 format where
      a header file describes the effective boot images. This change
      post processes header file content to get OP-TEE load addresses
      and set OP-TEE boot arguments.
      
      Change-Id: I02ef8b915e4be3e95b27029357d799d70e01cd44
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
      1989a19c
    • Yann Gautier's avatar
      stm32mp: split stm32mp_io_setup function · 0b1aa772
      Yann Gautier authored
      
      
      A new static function boot_mmc is created to simplify code maintenance
      of stm32mp_io_setup.
      
      Change-Id: I5c416e567e7e174fb1c2b435925a983c9c55fc40
      Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
      0b1aa772
  9. 07 Mar, 2019 1 commit
  10. 14 Feb, 2019 6 commits