1. 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
  2. 15 May, 2018 1 commit
    • Lin Huang's avatar
      rockchip/rk3399: Split M0 binary into two · ff4735cf
      Lin Huang authored
      
      
      All the m0 code run in SRAM before, but we need to watch PMU_POWER_ST
      when SOC enter into FSM, and SRAM will shutdown during this time, so
      this code need run in PMUSRAM. But PMUSRAM only 8K space, we can not
      put all the m0 binary into PMUSRAM, Split the M0 binary into two, dram
      part still run in SRAM, and suspend part run in PMUSRAM.
      
      Change-Id: Ie08bdf3e2b8838f12b9297fe60ab0aad219684b1
      Signed-off-by: default avatarLin Huang <hl@rock-chips.com>
      ff4735cf
  3. 26 Mar, 2018 1 commit
  4. 14 Jul, 2017 1 commit
  5. 08 Jun, 2017 1 commit
    • 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
  6. 03 May, 2017 1 commit
  7. 07 Apr, 2017 1 commit
  8. 24 Feb, 2017 13 commits
  9. 26 Oct, 2016 2 commits
  10. 09 Sep, 2016 1 commit
  11. 25 Aug, 2016 2 commits