1. 08 Jun, 2017 5 commits
    • Derek Basehore's avatar
      rockchip/rk3399: Remove unneeded if statement · 87aad734
      Derek Basehore authored
      
      
      The removed if statement would make the same check that the for loop
      it is in does to break out of the for loop, so it doesn't make any
      sense to keep it there.
      
      Change-Id: I819c29f9182e6de1fc47e418aed15ad38e8f9fa9
      Signed-off-by: default avatarDerek Basehore <dbasehore@chromium.org>
      87aad734
    • 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/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. 03 May, 2017 1 commit
  3. 07 Apr, 2017 1 commit
  4. 24 Feb, 2017 16 commits
  5. 06 Feb, 2017 1 commit
    • Douglas Raillard's avatar
      Replace some memset call by zeromem · 32f0d3c6
      Douglas Raillard authored
      
      
      Replace all use of memset by zeromem when zeroing moderately-sized
      structure by applying the following transformation:
      memset(x, 0, sizeof(x)) => zeromem(x, sizeof(x))
      
      As the Trusted Firmware is compiled with -ffreestanding, it forbids the
      compiler from using __builtin_memset and forces it to generate calls to
      the slow memset implementation. Zeromem is a near drop in replacement
      for this use case, with a more efficient implementation on both AArch32
      and AArch64.
      
      Change-Id: Ia7f3a90e888b96d056881be09f0b4d65b41aa79e
      Signed-off-by: default avatarDouglas Raillard <douglas.raillard@arm.com>
      32f0d3c6
  6. 26 Oct, 2016 3 commits
  7. 09 Sep, 2016 1 commit
  8. 25 Aug, 2016 2 commits