1. 04 Sep, 2018 1 commit
    • Bryan O'Donoghue's avatar
      imx: imx_snvs: Define a SNVS header and memory map · a60ca3b4
      Bryan O'Donoghue authored
      
      
      This commit defines two things.
      
      - The basic SNVS memory map. At the moment that is total overkill for the
        permission bits we need to set inside the SNVS but, for the sake of
        completeness define the whole SNVS area as a struct.
      
      - The bits of the HPCOMR register
      
        A permission fix will need to be applied to the SNVS block prior to
        switching on TrustZone. All we need to do is waggle a bit in the HPCOMR
        register. To do that waggle we first need to define the bits of the
        HPCOMR register.
      
      - A imx_snvs_init() function definition
      
        Declare the snvs_init() function so that it can be called from our
        platform setup code.
      Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      a60ca3b4