1. 28 Nov, 2019 4 commits
    • Anthony Zhou's avatar
      Tegra194: SiP: Fix Rule 8.4 and Rule 10.4 violation · 159baa48
      Anthony Zhou authored
      
      
      Rule 8.4, A compatible declaration shall be visible when an object
        or function with external linkage is defined.
      
      Add function delaration to the header file.
      Add suffix U to the unsigned constant define.
      
      Change-Id: I54eba913a5fa38e4fdf3655931dc421d9510c691
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      159baa48
    • Varun Wadekar's avatar
      Tegra194: mce: remove unsupported functionality · 08c085dc
      Varun Wadekar authored
      
      
      This patch cleans up the mce driver files to remove all the unsupported
      functionality. The MCE/NVG interface is not restricted to the EL3 space,
      so clients can issue commands to the MCE firmware directly.
      
      Change-Id: Idcebc42f31805f9c1abe1c1edc17850151aca11d
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      08c085dc
    • Anthony Zhou's avatar
      Tegra194: fix defects flagged by MISRA scan · b6533b56
      Anthony Zhou authored
      
      
      Main fixes:
      
      Fix invalid use of function pointer [Rule 1.3]
      
      Added explicit casts (e.g. 0U) to integers in order for them to be
      compatible with whatever operation they're used in [Rule 10.1]
      
      convert object type to match the type of function parameters
      [Rule 10.3]
      
      Force operands of an operator to the same type category [Rule 10.4]
      
      Fix implicit widening of composite assignment [Rule 10.6]
      
      Fixed if statement conditional to be essentially boolean [Rule 14.4]
      
      Added curly braces ({}) around if statements in order to
      make them compound [Rule 15.6]
      
      Voided non c-library functions whose return types are not used
      [Rule 17.7]
      
      Change-Id: I65a2b33e59aebb7746bd31544c79d57c3d5678c5
      Signed-off-by: default avatarAnthony Zhou <anzhou@nvidia.com>
      b6533b56
    • Vignesh Radhakrishnan's avatar
      Tegra194: Enable fake system suspend · b0a86254
      Vignesh Radhakrishnan authored
      
      
      Fake system suspend for Tegra194, calls the routine
      tegra_secure_entrypoint() instead of calling WFI.
      In essence, this is a debug mode that ensures
      that the code path of kernel->ATF and back to kernel
      is executed without depending on other components
      involved in the system suspend path.
      
      This is for ensuring that verification of system suspend
      can be done on pre-silicon platforms without depending on
      the rest of the layers being enabled.
      
      Change-Id: I18572b169b7ef786f9029600dad9ef5728634f2b
      Signed-off-by: default avatarVignesh Radhakrishnan <vigneshr@nvidia.com>
      b0a86254
  2. 13 Nov, 2019 1 commit
  3. 24 Oct, 2019 2 commits