1. 16 Jan, 2019 21 commits
  2. 15 Jan, 2019 7 commits
    • Ard Biesheuvel's avatar
      plat/synquacer: enable SPM support · 434454a2
      Ard Biesheuvel authored
      
      
      Enable the deprecated SPM framework for the SynQuacer platform.
      It involves creating a memory layout in secure DRAM, and wiring
      up the SPM infrastructure so that the secure partition payload
      that is loaded into this region by the SCP firmware is dispatched
      appropriately.
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      434454a2
    • Ard Biesheuvel's avatar
      plat/synquacer: enable OP-TEE logic only if SPD_opteed is set · e373b6a2
      Ard Biesheuvel authored
      
      
      The logic that initializes the BL32 entry point data structure
      should only be executed if we are in fact loading OP-TEE, and
      not if BL32_BASE is set for other reasons (i.e., when enabling
      SPM)
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      e373b6a2
    • Paul Beesley's avatar
      Correct typographical errors · 8aabea33
      Paul Beesley authored
      
      
      Corrects typos in core code, documentation files, drivers, Arm
      platforms and services.
      
      None of the corrections affect code; changes are limited to comments
      and other documentation.
      
      Change-Id: I5c1027b06ef149864f315ccc0ea473e2a16bfd1d
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      8aabea33
    • Antonio Nino Diaz's avatar
      plat/arm: Fix header dependencies · 234bc7f8
      Antonio Nino Diaz authored
      
      
      From now on, platform_def.h must include any header with definitions that
      are platform-specific (like arm_def.h) and the included headers mustn't
      include back platform_def.h, and shouldn't be used by other files. Only
      platform_def.h should be included in other files. This will ensure that all
      needed definitions are present, rather than needing to include all the
      headers in all the definitions' headers just in case.
      
      This also prevents problems like cyclic dependencies.
      
      Change-Id: I9d3cf4d1de4b956fa035c79545222697acdaf5ca
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      234bc7f8
    • Antonio Nino Diaz's avatar
      Move BL1 and BL2 private defines to bl_common.h · c9f9d9ea
      Antonio Nino Diaz authored
      
      
      The definitions in bl1/bl1_private.h and bl2/bl2_private.h are useful for
      platforms that may need to access them.
      
      Change-Id: Ifd1880f855ddafcb3bfcaf1ed4a4e0f121eda174
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      c9f9d9ea
    • Anson Huang's avatar
      imx: make imx uart work for debug mode · 2e8ab4f5
      Anson Huang authored
      
      
      With DEBUG_CONSOLE enabled, build will fail for imx8mq platform:
      
      ./build/imx8mq/release/bl31/imx8mq_bl31_setup.o:
      In function `bl31_early_platform_setup2':
      imx8mq_bl31_setup.c:(.text.bl31_early_platform_setup2+0x40):
      	undefined reference to `console_uart_register'
      Makefile:741: recipe for target 'build/imx8mq/release/bl31/bl31.elf' failed
      make: *** [build/imx8mq/release/bl31/bl31.elf] Error 1
      
      Besides, the .console_flush callback needs to be added to avoid
      panic when debug mode is enabled, since the console_flush() will
      call it without checking whether the function callback is valid.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      2e8ab4f5
    • Anson Huang's avatar
      imx: add necessary lpuart console_flush callback for debug · f1ac7964
      Anson Huang authored
      
      
      Current lpuart driver does NOT implement .console_flush callback,
      if debug console is enabled, the console_flush() will call the
      undefined .console_flush callback(NULL) for lpuart and leak to
      panic, this patch adds .console_flush callback to make lpuart work
      for debug mode.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      f1ac7964
  3. 10 Jan, 2019 2 commits
  4. 09 Jan, 2019 9 commits
  5. 08 Jan, 2019 1 commit
    • Joel Hutton's avatar
      juno:Fix CSS_USE_SCMI_SDS_DRIVER=0 configuration · 3af72d57
      Joel Hutton authored
      A previous commit 89f2e589
      
       ("plat/arm: remove weak implemention of
      'plat_arm_psci_override_pm_ops' function") introduced a problem with the
      CSS_USE_SCMI_SDS_DRIVER configuration. In juno_pm.c the
      css_scmi_override_pm_ops function was used regardless of whether the
      flag was set. This patch ifdefs the function to restore the original
      behaviour.
      
      Change-Id: I508025ba70cf3a9250cc6270c1df209179c37ae7
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      3af72d57