1. 17 Jan, 2019 1 commit
    • Anson Huang's avatar
      imx: add imx8qm/imx8qx SRTC SIP runtime service support · 025514ba
      Anson Huang authored
      
      
      On i.MX8QM/i.MX8QX with system controller inside, the SRTC is
      managed by SCFW(system controller firmware) and some functions
      like setting SRTC's time etc. can ONLY be requested from secure
      world, so SIP runtime service is needed for such kind of operations,
      this patch adds SRTC SIP runtime service support for i.MX8QM and
      i.MX8QX.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      025514ba
  2. 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
  3. 07 Dec, 2018 1 commit
    • Julius Werner's avatar
      drivers/console: Link console framework code by default · 985ee0b7
      Julius Werner authored
      
      
      This patch makes the build system link the console framework code by
      default, like it already does with other common libraries (e.g. cache
      helpers). This should not make a difference in practice since TF is
      linked with --gc-sections, so the linker will garbage collect all
      functions and data that are not referenced by any other code. Thus, if a
      platform doesn't want to include console code for size reasons and
      doesn't make any references to console functions, the code will not be
      included in the final binary.
      
      To avoid compatibility issues with older platform ports, only make this
      change for the MULTI_CONSOLE_API.
      
      Change-Id: I153a9dbe680d57aadb860d1c829759ba701130d3
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      985ee0b7
  4. 28 Sep, 2018 1 commit
  5. 22 Aug, 2018 1 commit
  6. 20 Jul, 2018 1 commit
  7. 12 Jul, 2018 4 commits
    • Anson Huang's avatar
      imx: imx8qm: add domain suspend/resume support · 8ef9f860
      Anson Huang authored
      
      
      Add domain suspend/resume support, Linux kernel
      can "echo mem > /sys/power/state" to put system
      into suspend mode, all CPUs and cluster will be
      powered off and can be waked up if irq pending
      in GIC, tested on i.MX8QM MEK board.
      
      Since the power state has been implemented, switch
      to use standard power state for CCI operations
      instead of private cpu use count in i.MX8QM.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      8ef9f860
    • Anson Huang's avatar
      imx: imx8qm: add domain off support · 0f53bca0
      Anson Huang authored
      
      
      Add domain off support for Linux kernel's cpu
      hot-plug feature, when there are cpu off request
      from Linux kernel, TF-A will send command to
      system controller to do CPU power gate accordingly,
      tested on i.MX8QM MEK board.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      0f53bca0
    • Anson Huang's avatar
      imx: imx8qm: add system reset support · d31ffcf0
      Anson Huang authored
      
      
      Add system reset support for i.MX8QM,
      when Linux kernel issues "reboot" command,
      TF-A will send command to inform system
      controller to reset whole board according
      to board design, tested on i.MX8QM MEK board.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      d31ffcf0
    • Anson Huang's avatar
      imx: imx8qm: add system off support · db81c592
      Anson Huang authored
      
      
      Add system power off support for i.MX8QM,
      when Linux kernel issues "poweroff" command,
      TF-A will send command to inform system
      controller to power off whole board according
      to board design, tested on i.MX8QM MEK board.
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      db81c592
  8. 19 Jun, 2018 1 commit