1. 20 Aug, 2020 2 commits
  2. 19 Aug, 2020 12 commits
  3. 18 Aug, 2020 14 commits
  4. 17 Aug, 2020 5 commits
    • Mark Dykes's avatar
    • Madhukar Pappireddy's avatar
      plat/arm: Use common build flag for using generic sp804 driver · fddfb3ba
      Madhukar Pappireddy authored
      
      
      SP804 TIMER is not platform specific, and current code base adds
      multiple defines to use this driver. Like FVP_USE_SP804_TIMER and
      FVP_VE_USE_SP804_TIMER.
      
      This patch removes platform specific build flag and adds generic
      flag `USE_SP804_TIMER` to be set to 1 by platform if needed.
      
      Change-Id: I5ab792c189885fd1b98ddd187f3a38ebdd0baba2
      Signed-off-by: default avatarMadhukar Pappireddy <madhukar.pappireddy@arm.com>
      fddfb3ba
    • Andre Przywara's avatar
      plat/allwinner: Only enable DRIVEVBUS if really needed · 93fa305c
      Andre Przywara authored
      
      
      The DRIVEVBUS power rail of the AXP803 PMIC is mostly used to supply
      the USB bus power on micro USB sockets, when used in host mode. As this
      is a dynamic operation, and mostly we want micro USB sockets to act in
      client mode initially, BL31 should not actually enable this power line.
      However, on some boards DRIVEVBUS is used to supply power to normal
      USB-A sockets. Failing to activate this line there results in
      non-functional USB in U-Boot on those boards.
      
      For that reason we were enabling DRIVEVBUS so far, as it did not seem to
      cause any harm to the other boards. However it turns out that on the
      Pinephone (and other systems with a battery), actually enabling DRIVEVBUS
      unconditionally causes serious problems (reboot loop).
      
      To accommodate both use cases, without reverting to a build time option,
      check the default OTG configuration in the devicetree. For boards with
      USB-A sockets this is set to "host", on boards with micro-B sockets to
      "otg". Depending on this setting, we either enable DRIVEVBUS or leave it
      alone.
      
      This fixes TF-A on the Pinephone and potentially other battery powered
      devices.
      
      Change-Id: Iec0e07f218b2b4393bf4e05c3386261f8ed19e9f
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      93fa305c
    • Andre Przywara's avatar
      plat/allwinner: Use common gicv2.mk · 9bc28a5e
      Andre Przywara authored
      
      
      Compiling BL31 for the Allwinner platform now produces a message about
      the deprecation of gic_common.c.
      Follow the advice and use include gicv2.mk instead.
      
      Collect all includes at the beginning of the file on the way.
      
      Change-Id: Iee46e21a630bfa831d28059f09aa7b049eb554bb
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      9bc28a5e
    • Sandrine Bailleux's avatar
  5. 16 Aug, 2020 1 commit
  6. 14 Aug, 2020 6 commits