1. 08 Jun, 2017 5 commits
    • Derek Basehore's avatar
      rockchip/rk3399: Remove unneeded register sets · 18f705fa
      Derek Basehore authored
      
      
      This removes the mmio_... function calls to set the multicast bit for
      the PHY registers when overriding the write leveling values. These are
      not needed since multicast is set by default when calling the
      function, and it's also better not to leave the side effect of
      disabling multicast when exiting the function.
      
      Change-Id: I83e089a2a2d55268b3832f36724c3b2c4be81082
      Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
      18f705fa
    • Derek Basehore's avatar
      rockchip/rk3399: remove unneeded DDR restore function · 7d1b3f5a
      Derek Basehore authored
      
      
      This removes the phy_dll_bypass_set function as it is unneeded. The
      values that function sets are saved during suspend, so the proper
      values will be restored on resume.
      
      Change-Id: I17542206c56e639ce8cb6375233145167441d4e2
      Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
      7d1b3f5a
    • Derek Basehore's avatar
      rockchip/rk3399: Save space for DRAM suspend data · 60400fc8
      Derek Basehore authored
      
      
      This removes the space allocation for the unused PHY register space.
      For instance in PHY registers 0-127, only 0-90 are used, so don't save
      the 91-127 registers. This saves about 1.6KB of space.
      
      Change-Id: I0c9f6d9bed8f0c1f3b8b805dfb10cf0c06208919
      Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
      60400fc8
    • Lin Huang's avatar
      rockchip: add pmusram section · bc5c3007
      Lin Huang authored
      
      
      the function pmu_cpuon_entrypoint() need to run in the pmusram,
      we just copy bin file to pmusram before, now we add pmusram section
      and link pmu_cpuon_entrypoint() to pmusram directly
      
      Change-Id: Iae31e4c01c480c8e6f565a8f588332b478efdb16
      Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
      Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
      bc5c3007
    • Lin Huang's avatar
      rockchip/rk3399: fix DRAM gate training issue · a9059b96
      Lin Huang authored
      
      
      The differential signal of DQS need keep low level
      before gate training. It need enable RPULL and disable
      PHY side ODT to ensure it when do gate training.
      But it can not access the PHY registers to do it when
      perform DFS.So the workaroud as below: It is ensure that
      the PHY's read gate is landing somewhere in the incoming
      DQS's pulses before it starts searching for pre-amble window.
      It need get the rddqs_delay_ps to calculate the start point
      of gate training for DFS.
      
      Change-Id: I79eabcf4ec9a9c8f4539f68a51f22afba49c72fe
      Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
      a9059b96
  2. 06 Jun, 2017 1 commit
  3. 05 Jun, 2017 10 commits
  4. 02 Jun, 2017 1 commit
  5. 01 Jun, 2017 6 commits
    • Antonio Nino Diaz's avatar
      FWU: Introduce FWU_SMC_IMAGE_RESET · 9d6fc3c3
      Antonio Nino Diaz authored
      
      
      This SMC is as a means for the image loading state machine to go from
      COPYING, COPIED or AUTHENTICATED states to RESET state. Previously, this
      was only done when the authentication of an image failed or when the
      execution of the image finished.
      
      Documentation updated.
      
      Change-Id: Ida6d4c65017f83ae5e27465ec36f54499c6534d9
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      9d6fc3c3
    • Antonio Nino Diaz's avatar
      FWU: Check for overlaps when loading images · 128daee2
      Antonio Nino Diaz authored
      
      
      Added checks to FWU_SMC_IMAGE_COPY to prevent loading data into a
      memory region where another image data is already loaded.
      
      Without this check, if two images are configured to be loaded in
      overlapping memory regions, one of them can be loaded and
      authenticated and the copy function is still able to load data from
      the second image on top of the first one. Since the first image is
      still in authenticated state, it can be executed, which could lead to
      the execution of unauthenticated arbitrary code of the second image.
      
      Firmware update documentation updated.
      
      Change-Id: Ib6871e569794c8e610a5ea59fe162ff5dcec526c
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      128daee2
    • Antonio Nino Diaz's avatar
      Remove `DISABLE_PEDANTIC` build option · 79eb1aff
      Antonio Nino Diaz authored
      
      
      It doesn't make sense to use the `-pedantic` flag when building the
      Trusted Firmware as we use GNU extensions and so our code is not
      fully ISO C compliant. This flag only makes sense if the code intends to
      be ISO C compliant.
      
      Change-Id: I6273564112759ff57f03b273f5349733a5f38aef
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      79eb1aff
    • Jeenu Viswambharan's avatar
      Introduce ARM GIC-600 driver · e1c59ab3
      Jeenu Viswambharan authored
      
      
      ARM GIC-600 IP complies with ARM GICv3 architecture, but among others,
      implements a power control register in the Redistributor frame. This
      register must be programmed to mark the frame as powered on, before
      accessing other registers in the frame. Rest of initialization sequence
      remains the same.
      
      The driver provides APIs for Redistributor power management, and
      overrides those in the generic GICv3 driver. The driver data is shared
      between generic GICv3 driver and that of GIC-600.
      
      For FVP platform, the GIC-600 driver is chosen when FVP_USE_GIC_DRIVER
      is set to FVP_GIC600. Also update user guide.
      
      Change-Id: I321b2360728d69f6d4b0a747b2cfcc3fe5a20d67
      Signed-off-by: default avatarJeenu Viswambharan <jeenu.viswambharan@arm.com>
      e1c59ab3
    • David Wang's avatar
      Add support for Cortex-A75 and Cortex-A55 CPUs · d40ab484
      David Wang authored
      
      
      Both Cortex-A75 and Cortex-A55 CPUs use the ARM DynamIQ Shared Unit
      (DSU). The power-down and power-up sequences are therefore mostly
      managed in hardware, and required software operations are considerably
      simpler.
      
      Change-Id: I68b30e6e1ebe7c041d5e67f39c59f08575fc7ecc
      Co-authored-by: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
      Signed-off-by: default avatarJeenu Viswambharan <jeenu.viswambharan@arm.com>
      d40ab484
    • danh-arm's avatar
      Merge pull request #957 from hzhuang1/finish_hikey_psci · 0ceb3e1e
      danh-arm authored
      Finish hikey psci
      0ceb3e1e
  6. 31 May, 2017 10 commits
  7. 30 May, 2017 1 commit
  8. 25 May, 2017 1 commit
  9. 24 May, 2017 5 commits