This project is mirrored from https://github.com/ARM-software/SCP-firmware.git. Pull mirroring updated .
  1. 23 May, 2022 3 commits
  2. 19 May, 2022 2 commits
    • Nicola Mazzucato's avatar
      juno/reset_domain: Fix conditional inclusion of notification_id · 624bbcc7
      Nicola Mazzucato authored
      
      
      The inclusion of the notification_id member is now dependent on
      whether or not BUILD_HAS_SCMI_NOTIFICATIONS build flag is set.
      But in the reset_domain implementation, the functionality associated
      with that identifier is conditional to the availability of framework
      notifications BUILD_HAS_NOTIFICATION.
      
      This creates a misalignment of build option for the correct use of
      the reset domain features.
      
      Replace BUILD_HAS_SCMI_NOTIFICATIONS with BUILD_HAS_NOTIFICATION
      for the inclusion of the notification_id.
      
      Change-Id: If596761faae827a9a7b3fe4101b36039b0fb2720
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      624bbcc7
    • Nicola Mazzucato's avatar
      reset_domain: Fix HAL api type · f4a29225
      Nicola Mazzucato authored
      
      
      The HAL API type that should be returned by whoever binds to
      the reset module should be `mod_reset_domain_api` and not
      `mod_reset_domain_drv_api`.
      
      Fix the type.
      
      Change-Id: Ice6690c575db43af42e2c2ca014968aeb3c7bd96
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      f4a29225
  3. 18 May, 2022 7 commits
    • Morikawa, Masanobu's avatar
      synquacer: Add platform_options.md · db2beca5
      Morikawa, Masanobu authored
      
      
      This patch adds a documentation
      "what options are available and how to build example"
      on SynQuacer platform.
      Signed-off-by: default avatarMasanobu Morikawa <morikawa.masanobu@socionext.com>
      Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
      Change-Id: Ib9db696d7cd665ae2fd10fbddb28c1e0cd7791e8
      db2beca5
    • Morikawa, Masanobu's avatar
      synquacer: Add a make option to select UART port · 9b6082a2
      Morikawa, Masanobu authored
      
      
      This patch adds a new make option to select UART port
      in make and CMake build on SynQuacer platform.
      
      The following 3 UART ports are selectable.
      uart0 : A standard UART on the 40 pin expansion connector
              (used as default for SCP console)
      uart1 : A second standard UART on the 40 pin expansion connector
      debug_uart : A debug UART via the micro-B USB connector
      
      To select UART port, set SYNQUACER_UART value as below
      when executing make commnad.
      
      In make build system,
      make CC=$CC PRODUCT=synquacer MODE=$MODE \
       [SYNQUACER_UART=uart0|uart1|debug_uart]
      e.g.
      make CC=$CC PRODUCT=synquacer MODE=$MODE SYNQUACER_UART=uart1
      
      In CMake build system,
      make -f Makefile.cmake CC=$CC PRODUCT=synquacer MODE=$MODE \
       [EXTRA_CONFIG_ARGS="-DSYNQUACER_UART=uart0|uart1|debug_uart"]
      e.g.
      make -f Makefile.cmake CC=$CC PRODUCT=synquacer MODE=$MODE \
       EXTRA_CONFIG_ARGS="-DSYNQUACER_UART=uart1"
      
      If SYNQUACER_UART value is not set, uart0 is selected as defalut.
      
      Change-Id: I9390a178c4685d5e4aa88d1eb1174aa9a26fd00f
      Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
      Signed-off-by: default avatarMasanobu Morikawa <morikawa.masanobu@socionext.com>
      9b6082a2
    • Leandro Belli's avatar
      thermal-mgmt: Move power allocation to a separate file · af4fdf17
      Leandro Belli authored
      
      
      This patch moves power allocation functions to a separate file.
      It will allow to encapsulate this functionality.
      Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
      Change-Id: I27e1fcd7c4780196f93bcb8388d1c77035923d1c
      af4fdf17
    • Leandro Belli's avatar
      scmi-perf: move fast channel alarm to event context · db57f0f5
      Leandro Belli authored
      
      
      This patch moves FastChannels tick process to event context,
      reducing the time consumed during a ISR.
      It avoids holding up the entire system for a possible long time.
      Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
      Change-Id: Ic3f9af1fa530a22f433bf9deea8cf963db6fb9cc
      db57f0f5
    • Sahil's avatar
      n1sdp: Introduce trusted board boot · 3e4c34ce
      Sahil authored
      
      
      In current boot flow, the SCP RAM firmware copies TF-BL31
      from SCP QSPI memory to SRAM, and the AP core starts the
      execution from it. With TBBR boot flow enabled SCP RAM
      firmware will instead copy TF-BL1 to trusted SRAM.
      
      This patch also removes BL33 info SDS structure as it is no longer
      needed with the TBBR based boot.
      Signed-off-by: Sahil's avatarsahil <sahil@arm.com>
      Change-Id: I802a99fc7da6da5f5ba5ca5f7cb13a08c06146d0
      3e4c34ce
    • Sahil's avatar
      fip: extend fip module to accept custom uuid through module config · 5fda22c1
      Sahil authored
      
      
      fiptool allows packaging images as a blob with custom UUID but
      fip module in SCP does not allow platform to use custom UUIDs for images.
      Current workaround that is being used is to add a custom entry in fip.h
      and make appropriate changes elsewhere in common fip module.
      This approach is not scalable and requires changes in common code.
      
      This patch adds changes to support platforms to use custom UUIDs
      through config_fip.c file. Platforms can add any number of custom
      entries through config which is then parsed by fip module.
      Signed-off-by: Sahil's avatarsahil <sahil@arm.com>
      Change-Id: I4c0770f9d053e3bbcafa959a1bc83c4175f32c06
      5fda22c1
    • Tarek El-Sherbiny's avatar
      gimfile: Update to the latest release version · a9582fb5
      Tarek El-Sherbiny authored
      
      
      Update packages versions to avoid an security issues.
      Signed-off-by: Tarek El-Sherbiny's avatarTarek El-Sherbiny <tarek.el-sherbiny@arm.com>
      Change-Id: I8e0cd24fff48be4172e4fbf7b45f40c6611c83c7
      a9582fb5
  4. 05 May, 2022 3 commits
  5. 04 May, 2022 1 commit
    • Manoj Kumar's avatar
      morello: fix timestamp in debug logs · 876fa4ff
      Manoj Kumar authored
      
      
      The generic timer instance is not hooked to the framework time driver
      which makes the timestamp to be printed as zeros all the time.
      
      This patch fixes the gap to let framework print correct timestamps
      during debug logs.
      Signed-off-by: Manoj Kumar's avatarManoj Kumar <manoj.kumar3@arm.com>
      Change-Id: Iacab58a01999be8f71358d13e48c1517dba02b64
      876fa4ff
  6. 26 Apr, 2022 1 commit
    • Ahmed Gadallah's avatar
      cmake: Fix ArmClang generated images · 0c919a6a
      Ahmed Gadallah authored
      
      
      Images generated for cortex-m7 targets are not booting.
      This is because hardware floating point initialization modules
      are added by ArmClang linker. These modules add floating point
      instructions that cause exceptions.
      
      This patch adds the linker option to omit including the floating
      point initialization modules and the compiler option to avoid
      using floating point instructions.
      Signed-off-by: Ahmed Gadallah's avatarAhmed Gadallah <ahmed.gadallah@arm.com>
      Change-Id: I7e0f868227587c0a167d29974608ddb2a21b018f
      0c919a6a
  7. 21 Apr, 2022 1 commit
  8. 20 Apr, 2022 10 commits
  9. 13 Apr, 2022 1 commit
  10. 08 Apr, 2022 1 commit
  11. 07 Apr, 2022 2 commits
  12. 06 Apr, 2022 3 commits
    • Nicola Mazzucato's avatar
      scmi_perf: Fix violation of MISRA-C rule 11.9 · 9d57e6a6
      Nicola Mazzucato authored
      
      
      The literal "0" is used as a NULL pointer constant.
      This is replaced with NULL as more appropriate and in line
      with MISRAC guidance.
      
      Change-Id: I2d779a61f5ba30c86f09bdd2c4013eae0e5f3f14
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      9d57e6a6
    • Nicola Mazzucato's avatar
      scmi_perf: Fix typo for opp_table · d10b7180
      Nicola Mazzucato authored
      
      
      Replace `pref` with `perf` in opp_table.
      
      Change-Id: I365c97a21e77c43dd66a952c55b3924f0af61f25
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      d10b7180
    • Tomás Agustín González Orlando's avatar
      mod_scmi_clock: Fix Resource Permissions returned error · adb02bdb
      Tomás Agustín González Orlando authored
      
      
      Some scmi tests are failing when building with resource
      permissions enabled for some platforms.
      When trying to access an incorrect clock or sending an
      invalid parameter, the NOT_FOUND or the INVALID_PARAMETER
      returns are expected by the test instead of the DENIED error.
      
      Fix the logic so that the first thing that each clock handler does
      is check whether the requested clock is available and only then
      check whether the correct permissions are given to operate on said
      clock.
      
      The disadvantage of this implementation is that every new handler
      will need to make sure that permissions are satisfied, while
      currently we only perform the permissions check before moving to
      the respective handlers. However, placing this function call in the
      message_handler would imply having to get the clock_id and check
      whether it exists/is valid, duplicating
      code in the case where resource permissions are enabled.
      Hence, this is the preferred solution.
      Signed-off-by: default avatarTomás Agustín González Orlando <tomasagustin.gonzalezorlando@arm.com>
      Change-Id: I48dda155e64108555ec933451ea7b888ca64e367
      adb02bdb
  13. 05 Apr, 2022 5 commits