1. 30 5月, 2013 1 次提交
  2. 06 2月, 2013 1 次提交
    • G
      spi/ath79: add shutdown handler · 7410e848
      Gabor Juhos 提交于
      The SPI controller of the AR7xxx/AR9xxx SoCs
      have a special mode which allows the SoC to
      directly read data from SPI flash chips. In
      this mode, the content of the SPI flash chip
      can be accessed via a memory mapped region.
      
      During early init time, the kernel expects
      that the flash chip is accessible through
      that memory region because it reads board
      specific values (e.g. MAC address, WiFi
      calibration data) from the flash on various
      boards.
      
      This is working if the kernel is loaded
      directly by the bootloader because that
      leaves the SPI controller in the special
      mode. However it is not working in a kexec'd
      kernel because the SPI driver does not restore
      the special mode during shutdown.
      
      The patch adds a shutdown handler to fix this
      issue.
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      7410e848
  3. 05 2月, 2013 5 次提交
  4. 08 12月, 2012 1 次提交
  5. 20 5月, 2012 1 次提交
  6. 08 12月, 2011 1 次提交
    • G
      spi/ath79: fix compile error due to missing include · 807cc4b1
      Gabor Juhos 提交于
      Whithout including 'linux/module.h' spi-ath79 driver fails to compile
      with the these errors:
      
      drivers/spi/spi-ath79.c:273:12: error: 'THIS_MODULE' undeclared here (not in a function)
      drivers/spi/spi-ath79.c:278:20: error: expected declaration specifiers or '...' before string constant
      drivers/spi/spi-ath79.c:278:1: warning: data definition has no type or storage class
      drivers/spi/spi-ath79.c:278:1: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
      drivers/spi/spi-ath79.c:278:20: warning: function declaration isn't a prototype
      drivers/spi/spi-ath79.c:279:15: error: expected declaration specifiers or '...' before string constant
      drivers/spi/spi-ath79.c:279:1: warning: data definition has no type or storage class
      drivers/spi/spi-ath79.c:279:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
      drivers/spi/spi-ath79.c:279:15: warning: function declaration isn't a prototype
      drivers/spi/spi-ath79.c:280:16: error: expected declaration specifiers or '...' before string constant
      drivers/spi/spi-ath79.c:280:1: warning: data definition has no type or storage class
      drivers/spi/spi-ath79.c:280:1: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
      drivers/spi/spi-ath79.c:280:16: warning: function declaration isn't a prototype
      drivers/spi/spi-ath79.c:281:14: error: expected declaration specifiers or '...' before string constant
      drivers/spi/spi-ath79.c:281:1: warning: data definition has no type or storage class
      drivers/spi/spi-ath79.c:281:1: warning: type defaults to 'int' in declaration of 'MODULE_ALIAS'
      drivers/spi/spi-ath79.c:281:14: warning: function declaration isn't a prototype
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      807cc4b1
  7. 25 10月, 2011 1 次提交
  8. 11 6月, 2011 1 次提交
  9. 06 6月, 2011 1 次提交
  10. 19 1月, 2011 1 次提交