1. 31 5月, 2019 1 次提交
  2. 29 5月, 2019 8 次提交
  3. 25 5月, 2019 4 次提交
  4. 24 5月, 2019 3 次提交
    • T
      Arm: dts: socfpga: Remove invalid property from chose node · ca9387e8
      Tien Fong Chee 提交于
      Finding bitstream from cff-file is no longer valid after bitstream is built
      into FIT image and loaded by generic firmware loader. Remove cff-file
      as this is legacy implementation from A10 downstream.
      Signed-off-by: NTien Fong Chee <tien.fong.chee@intel.com>
      ca9387e8
    • M
      ARM: socfpga: Clear PL310 early in SPL · 476abb72
      Marek Vasut 提交于
      On SoCFPGA A10 systems, it can rarely happen that a reboot from Linux
      will result in stale data in PL310 L2 cache controller. Even if the L2
      cache controller is disabled via the CTRL register CTRL_EN bit, those
      data can interfere with operation of devices using DMA, like e.g. the
      DWMMC controller. This can in turn cause e.g. SPL to fail reading data
      from SD/MMC.
      
      The obvious solution here would be to fully reset the L2 cache controller
      via the reset manager MPUMODRST L2 bit, however this causes bus hang even
      if executed entirely from L1 I-cache to avoid generating any bus traffic
      through the L2 cache controller.
      
      This patch thus configures and enables the L2 cache controller very early
      in the SPL boot process, clears the L2 cache and disables the L2 cache
      controller again.
      
      The reason for doing it in SPL is because we need to avoid accessing any
      of the potentially stale data in the L2 cache, and we are certain any of
      the stale data will be below the OCRAM address range. To further reduce
      bus traffic during the L2 cache invalidation, we enable L1 I-cache and
      run the invalidation code entirely out of the L1 I-cache.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <chin.liang.see@intel.com>
      Cc: Dalon Westergreen <dwesterg@gmail.com>
      Cc: Dinh Nguyen <dinguyen@kernel.org>
      Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      Cc: Tien Fong Chee <tien.fong.chee@intel.com>
      476abb72
    • M
      ARM: socfpga: Pull PL310 clearing into common code · 501be470
      Marek Vasut 提交于
      Pull the PL310 clearing code into common code, so it can be reused
      by Arria10.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <chin.liang.see@intel.com>
      Cc: Dalon Westergreen <dwesterg@gmail.com>
      Cc: Dinh Nguyen <dinguyen@kernel.org>
      Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      Cc: Tien Fong Chee <tien.fong.chee@intel.com>
      501be470
  5. 23 5月, 2019 11 次提交
  6. 22 5月, 2019 12 次提交
  7. 21 5月, 2019 1 次提交
    • C
      arm: sunxi: h6: fix reset using r_wdog · 26f8e0d7
      Clément Péron 提交于
      Some H6 boards have a watchdog which didn't make the SoC
      reboot properly.
      
      Reason is still unknown but several people have test it.
      Chen-Yu Tsai :
      Pine H64 = H6 V200-AWIN H6448BA 7782 => OK
      OrangePi Lite 2 = H6 V200-AWIN H8068BA 61C2 => KO
      
      Martin Ayotte :
      Pine H64 = H8069BA 6892 => OK
      OrangePi 3 = HA047BA 69W2 => KO
      OrangePi One Plus = H7310BA 6842 => KO
      OrangePi Lite2 = H6448BA 6662 => KO
      
      Clément Péron:
      Beelink GS1 = H6 V200-AWIN H7309BA 6842 => KO
      
      After the series of result, Icenowy try to reach Allwinner about this
      issue but they seems not interested to investigate it.
      
      As we don't have the ARIS coproc to do power management and watchdogis
      the only solution to reset the board.
      
      So, Change from watchdog to R_watchdog to allow a reboot on all H6
      boards.
      Signed-off-by: NClément Péron <peron.clem@gmail.com>
      Reviewed-by: NJagan Teki <jagan@amarulasolutions.com>
      26f8e0d7