1. 18 Jan, 2019 1 commit
    • Anthony Zhou's avatar
      Tegra: common: drivers: fix MISRA defects · 61beb3e0
      Anthony Zhou authored
      
      
      Main fixes:
      
      Add suffix U for constant [Rule 10.1]
      
      Match the operands type [Rule 10.4]
      
      Use UL replace U for that constant define that need do "~"
      operation [Rule 12.4]
      
      Voided non c-library functions whose return types are not used
       [Rule 17.7]
      
      Change-Id: Ia1e814ca3890eab7904be9c79030502408f30936
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      61beb3e0
  2. 16 Jan, 2019 1 commit
    • Krishna Reddy's avatar
      Tegra186: memctrl_v2: Set MC clients ordering as per client needs · b86e691e
      Krishna Reddy authored
      
      
      Set MC Clients ordering as per the clients needs(ordered, BW, ISO/non-ISO)
      based on the latest info received from HW team as a part of BW issues debug.
      
      SMMU Client config register are obsolete from T186. Clean up the unnecessary
      register definitions and programming of these registers.
      Cleanup unnecessary macros as well.
      
      Change-Id: I0d28ae8842a33ed534f6a15bfca3c9926b3d46b2
      Signed-off-by: default avatarKrishna Reddy <vdumpa@nvidia.com>
      b86e691e
  3. 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
  4. 15 Jun, 2017 2 commits
  5. 03 May, 2017 1 commit
  6. 01 May, 2017 1 commit
    • Varun Wadekar's avatar
      Tegra: memctrl_v2: zero out NS Video memory carveout region · 9d42d23a
      Varun Wadekar authored
      
      
      The video memory carveout has to be re-sized depending on the Video
      content. This requires the NS world to send us new base/size values.
      Before setting up the new region, we must zero out the previous memory
      region, so that the video frames are not leaked to the outside world.
      
      This patch adds the logic to zero out the previous memory carveout
      region.
      
      Change-Id: I471167ef7747154440df5c1a5e015fbeb69d9043
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      9d42d23a
  7. 13 Apr, 2017 3 commits
  8. 07 Apr, 2017 4 commits
  9. 05 Apr, 2017 3 commits
  10. 30 Mar, 2017 2 commits
  11. 27 Mar, 2017 1 commit
  12. 23 Mar, 2017 5 commits
  13. 22 Mar, 2017 1 commit
  14. 20 Mar, 2017 6 commits