1. 13 2月, 2015 1 次提交
  2. 21 12月, 2014 1 次提交
    • S
      arm: socfpga: Change watchdog timeout · d0e932de
      Stefan Roese 提交于
      The current current watchdog timeout of 12 seconds is a bit small for
      booting into Linux, especially when using a NFS based rootfs. So lets
      change this timeout to a more defensive value of 30 seconds.
      
      Also we now call the hw_watchdog_init() function so that we override
      the value already configured from the Preloader.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Vince Bridgers <vbridger@opensource.altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      d0e932de
  3. 06 12月, 2014 3 次提交
    • S
      arm: socfpga: DW_SPI: Remove clock info from config header · 0edeba05
      Stefan Roese 提交于
      Remove the now unnecessary clocking info from the SoCFPGA
      config header. As this info in now used directly in the SPI driver
      itself.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Marek Vasut <marex@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      0edeba05
    • S
      arm: socfpga: Add Designware (DW) SPI support to config header · a6e73591
      Stefan Roese 提交于
      Enable support for the DW master SPI controller in the config header
      for the SoCFPGA. This controller can only be enabled, if DT support
      is enabled.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      a6e73591
    • S
      arm: socfpga: Add Cadence QSPI support to config header · 7fb0f596
      Stefan Roese 提交于
      With this driver enabled for SoCFPGA, access to SPI NOR flash is
      supported.
      
      The configuration (page size, timing info) will be taken from the
      DT. See socrates as an example.
      
      This QSPI supports depends on DT. So QSPI is only enabled if
      CONFIG_OF_CONTROL is defined (see socfpga_socrates_defconfig).
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
      7fb0f596
  4. 21 11月, 2014 1 次提交
  5. 07 11月, 2014 1 次提交
  6. 31 10月, 2014 1 次提交
  7. 30 10月, 2014 1 次提交
    • S
      arm: socfpga: Add I2C support to SoCFPGA · ebcaf966
      Stefan Roese 提交于
      This patch adds I2C support for the SoCFPGA. Using the designware I2C
      controller driver. It supports all 4 I2C busses on the SoCFPGA.
      
      The designware I2C driver has now been converted to the
      CONFIG_SYS_I2C framework. So lets enable it on SoCFPGA.
      
      Tested on SoCrates.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Vince Bridgers <vbridger@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      ebcaf966
  8. 27 10月, 2014 3 次提交
  9. 06 10月, 2014 10 次提交
    • P
      arm: socfpga: Split SoCFPGA configuration · 5095ee08
      Pavel Machek 提交于
      Split the SoCFPGA configuration into SoC-specific part which is
      common for all boards (socfpga_cyclone5_common.h) and a board
      specific part. There is currently only one board, which is the
      generic SoCFPGA board (socfpga_cyclone5.h), but there are more
      to come.
      
      This is necessary due to various features of the boards, which
      unfortunatelly cannot be autodetected.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      5095ee08
    • M
      arm: socfpga: Clean up SoCFPGA configuration · 47f9b4e1
      Marek Vasut 提交于
      Reorganize and cleanup the configuration file for SoCFPGA. There
      is no functional change after this cleanup. This was necessary,
      since the file was a wild mess and it was impossible to make sense
      of it's content, let alone change something without breaking some
      other thing. This patch puts the contents on par with regular U-Boot
      standards.
      
      Also remove unused preprocessor symbols CONFIG_SINGLE_BOOTOADER
      and CONFIG_USE_IRQ, which is undefined by default. Finally, do
      logical reordering of the defines in the file so it's much more
      readable. The reordering was also necessary for the splitting
      as the initial one was messy.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      47f9b4e1
    • C
      arm: socfpga: Enable SDMMC boot for SOCFPGA U-Boot · 97ce274d
      Chin Liang See 提交于
      Enable the SDMMC boot as default boot for SOCFPGA U-Boot dev kit.
      Enable the bootz command as zImage is used instead uImage.
      Signed-off-by: NChin Liang See <clsee@altera.com>
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      97ce274d
    • C
      arm: socfpga: Enable DWMMC for SOCFPGA · ddcbed04
      Chin Liang See 提交于
      Enable the DesignWare MMC controller driver support
      for SOCFPGA Cyclone5 dev kit
      Signed-off-by: NChin Liang See <clsee@altera.com>
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Wolfgang Denk <wd@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      ddcbed04
    • M
      arm: socfpga: cache: Enable PL310 L2 cache · b5e9b296
      Marek Vasut 提交于
      Enable the PL310 L2 cache controller support for the SoCFPGA.
      With the cache related issues resolved, this is safe to be done.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      b5e9b296
    • M
      arm: socfpga: cache: Enable D-Cache · 40e7bcde
      Marek Vasut 提交于
      The code is now fixed to the point where we can safely enable
      the L1 data cache. Enable the D-Cache and set it as write-alloc.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      40e7bcde
    • M
      arm: socfpga: cache: Define cacheline size · 9ca2116c
      Marek Vasut 提交于
      The Cortex-A9 has 32-byte long L1 cachelines. Define this value.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: NPavel Machek <pavel@denx.de>
      9ca2116c
    • M
      arm: socfpga: timer: Pull the timer reload value from config file · 2110eeaf
      Marek Vasut 提交于
      The timer reload value is a property of the timer hardware and there
      is no reason for this to be configurable. Place this into the timer
      driver just like on the other hardware.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Acked-by: NDinh Nguyen <dinguyen@opensource.altera.com>
      Acked-by: NPavel Machek <pavel@denx.de>
      2110eeaf
    • P
      arm: socfpga: clock: Add code to read clock configuration · a832ddba
      Pavel Machek 提交于
      Add the entire bulk of code to read out clock configuration from the SoCFPGA
      CPU registers. This is important for MMC, QSPI and UART drivers as otherwise
      they cannot determine the frequency of their upstream clock.
      Signed-off-by: NPavel Machek <pavel@denx.de>
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      
      V2: Fixed the L4 MP clock divider and synced the clock code with latest
          rocketboards codebase (thanks Dinh for pointing this out)
      a832ddba
    • P
      net: Remove unused CONFIG_DW_SEARCH_PHY from configs · 464eec6d
      Pavel Machek 提交于
      Remove this symbol from configs, since it's unused.
      Signed-off-by: NPavel Machek <pavel@denx.de>
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Chin Liang See <clsee@altera.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@ti.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Acked-by: NChin Liang See <clsee@altera.com>
      464eec6d
  10. 30 8月, 2014 2 次提交
  11. 31 7月, 2014 1 次提交
  12. 30 7月, 2014 1 次提交
  13. 14 7月, 2014 1 次提交
  14. 05 7月, 2014 2 次提交
  15. 07 4月, 2014 1 次提交
  16. 16 11月, 2013 1 次提交
  17. 05 11月, 2013 2 次提交
  18. 08 10月, 2013 1 次提交
  19. 06 9月, 2013 1 次提交
  20. 24 7月, 2013 1 次提交
  21. 09 1月, 2013 1 次提交
    • A
      arm: move C runtime setup code in crt0.S · e05e5de7
      Albert ARIBAUD 提交于
      Move all the C runtime setup code from every start.S
      in arch/arm into arch/arm/lib/crt0.S. This covers
      the code sequence from setting up the initial stack
      to calling into board_init_r().
      
      Also, rewrite the C runtime setup and make functions
      board_init_*() and relocate_code() behave according to
      normal C semantics (no jumping across the C stack any
      more, etc).
      
      Some SPL targets had to be touched because they use
      start.S explicitly or for some reason; the relevant
      maintainers and custodians are cc:ed.
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      e05e5de7
  22. 16 10月, 2012 1 次提交
  23. 05 10月, 2012 1 次提交