1. 24 Aug, 2021 1 commit
    • Icenowy Zheng's avatar
      refactor(plat/allwinner): allow new AA64nAA32 position · 080939f9
      Icenowy Zheng authored
      
      
      In newer Allwiner SoCs, the AA64nAA32 wires are mapped to a new register
      called "General Control Register0" in the manual rather than the
      "Cluster 0 Control Register0" in older SoCs.
      
      Now the position of AA64nAA32 (reg and bit offset) is defined in a few
      macros instead assumed to be at bit offset 24 of
      SUNXI_CPUCFG_CLS_CTRL_REG0.
      
      Change-Id: I933d00b9a914bf7103e3a9dadbc6d7be1a409668
      Signed-off-by: default avatarIcenowy Zheng <icenowy@sipeed.com>
      080939f9
  2. 26 Mar, 2021 1 commit
    • Andre Przywara's avatar
      allwinner: H616: Add reserved-memory node to DT · 0be10ee3
      Andre Przywara authored
      
      
      When the BL31 for the Allwinner H616 runs in DRAM, we need to make sure
      we tell the non-secure world about the memory region it uses.
      
      Add a reserved-memory node to the DT, which covers the area that BL31
      could occupy. The "no-map" property will prevent OSes from mapping
      the area, so there would be no speculative accesses.
      
      Change-Id: I808f3e1a8089da53bbe4fc6435a808e9159831e1
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      0be10ee3
  3. 25 Mar, 2021 1 commit
    • Andre Przywara's avatar
      allwinner: Add Allwinner H616 SoC support · 26123ca3
      Andre Przywara authored
      
      
      The new Allwinner H616 SoC lacks the management controller and the secure
      SRAM A2, so we need to tweak the memory map quite substantially:
      We run BL31 in DRAM. Since the DRAM starts at 1GB, we cannot use our
      compressed virtual address space (max 256MB) anymore, so we revert to
      the full 32bit VA space and use a flat mapping throughout all of it.
      
      The missing controller also means we need to always use the native PSCI
      ops, using the CPUIDLE hardware, as SCPI and suspend depend on the ARISC.
      
      Change-Id: I77169b452cb7f5dc2ef734f3fc6e5d931749141d
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      26123ca3