1. 15 2月, 2009 1 次提交
    • A
      [ARM] 5390/1: AT91: Watchdog fixes · 2af29b78
      Andrew Victor 提交于
      The recently merged AT91SAM9 watchdog driver uses the
      AT91SAM9X_WATCHDOG config variable, whereas the original version of
      the driver (and the platform support code) used AT91SAM9_WATCHDOG.
      This causes the watchdog platform_device to never be registered, and
      therefore the driver not to be initialized.
      
      This patch:
      - updates the platform support code to use AT91SAM9X_WATCHDOG.
      - includes <linux/io.h> to fix compile error (same fix as was applied
      to at91rm9200_wdt.c)
      - fixes comment regarding watchdog clock-rates in at91rm9200.
      Signed-off-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      2af29b78
  2. 09 1月, 2009 1 次提交
    • R
      [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c · 80b02c17
      Russell King 提交于
      arch/arm/mach-at91/at91cap9.c:337: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91rm9200.c:301: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9260.c:351: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9261.c:287: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9263.c:312: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9rl.c:304: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-h720x/h7202-eval.c:38: error: implicit declaration of function 'IRQ_CHAINED_GPIOB'
      arch/arm/mach-ks8695/devices.c:46: error: 'KS8695_IRQ_WAN_RX_STATUS' undeclared here (not in a function)
      arch/arm/mach-msm/devices.c:28: error: 'INT_UART1' undeclared here (not in a function)
      arch/arm/mach-mx2/devices.c:233: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-mx3/devices.c:128: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:140: error: 'INT_730_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:165: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:200: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap2/board-apollon.c:286: error: implicit declaration of function 'omap_set_gpio_direction'
      arch/arm/mach-omap2/mcbsp.c:154: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-omap2/mcbsp.c:181: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-pxa/e350.c:36: error: 'IRQ_BOARD_START' undeclared here (not in a function)
      arch/arm/plat-s3c/dev-i2c0.c:32: error: 'IRQ_IIC' undeclared here (not in a function)
      ...
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      80b02c17
  3. 13 12月, 2008 1 次提交
  4. 12 12月, 2008 1 次提交
  5. 02 12月, 2008 5 次提交
  6. 30 11月, 2008 2 次提交
  7. 28 11月, 2008 1 次提交
    • N
      [ARM] remove a common set of __virt_to_bus definitions · b5ee9002
      Nicolas Pitre 提交于
      Let's provide an overridable default instead of having every machine
      class define __virt_to_bus and __bus_to_virt to the same thing.  What
      most platforms are using is bus_addr == phys_addr so such is the default.
      
      One exception is ebsa110 which has no DMA what so ever, so the actual
      definition is not important except only for proper compilation.  Also
      added a comment about the special footbridge bus translation.
      
      Let's also remove comments alluding to set_dma_addr which is not
      (and should not) be commonly used.
      Signed-off-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b5ee9002
  8. 27 11月, 2008 1 次提交
  9. 30 10月, 2008 2 次提交
  10. 23 10月, 2008 1 次提交
    • D
      [ARM] 5316/1: AT91: oops (regression) fix on gpio irq · 085eefb5
      David Brownell 提交于
      From: David Brownell <dbrownell@users.sourceforge.net>
      
      The "5298/1: Drop desc_handle_irq()" patch went overboard
      and deleted an essential line of code, causing all AT91
      GPIO interrupts to oops (in irq).  Trimmed example:
      
      Unable to handle kernel NULL pointer dereference at virtual address 000000c4
      ...
      PC is at gpio_irq_handler+0x78/0xd0
      LR is at gpio_irq_handler+0x38/0xd0
      ...
      Backtrace:
      [<c0029884>] (gpio_irq_handler+0x0/0xd0) from [<c0020054>] (__exception_text_start+0x54/0x7c)
      [<c0020000>] (__exception_text_start+0x0/0x7c) from [<c00209ec>] (__irq_svc+0x2c/0x60)
      Exception stack(0xc1c1de00 to 0xc1c1de48)
      [<c01f4ca8>] (_spin_unlock_irq+0x0/0x3c) from [<c01389f8>] (at91ether_open+0x220/0x318)
      [<c01387d8>] (at91ether_open+0x0/0x318) from [<c018caa4>] (dev_open+0xa8/0x10c)
      [<c018c9fc>] (dev_open+0x0/0x10c) from [<c018b874>] (dev_change_flags+0x98/0x164)
      [<c018b7dc>] (dev_change_flags+0x0/0x164) from [<c0019f8c>] (ip_auto_config+0x164/0xe28)
      [<c0019e28>] (ip_auto_config+0x0/0xe28) from [<c0020318>] (__exception_text_end+0x60/0x180)
      [<c00202b8>] (__exception_text_end+0x0/0x180) from [<c0008738>] (kernel_init+0x70/0xd8)
      [<c00086c8>] (kernel_init+0x0/0xd8) from [<c00398e0>] (do_exit+0x0/0x6ac)
      
      This patch restores the missing line'o'code.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      085eefb5
  11. 09 10月, 2008 1 次提交
  12. 29 9月, 2008 2 次提交
  13. 22 9月, 2008 8 次提交
  14. 19 9月, 2008 3 次提交
  15. 06 9月, 2008 1 次提交
  16. 07 8月, 2008 3 次提交
  17. 01 8月, 2008 1 次提交
    • P
      Fix rename of at91_nand -> atmel_nand · f6ed6f78
      Pieter du Preez 提交于
      Structs called at91_nand_data where renamed to atmel_nand_data
      and configs called *MTD_NAND_AT91* where renamed to
      *MTD_NAND_ATMEL*. This was unfortunately not done consistently,
      causing NAND chips not being initialised on several ARM boards.
      
      I am aware that the author of the original change did not rename
      MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
      All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
      to keep naming consistency.
      
      This patch was only tested on a MACH_SAM9_L9260, as this is the
      only ARM board I have to my disposal.
      
      Before this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      105
      $ git-ls-files |xargs grep at91_nand |wc -l
      4
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      8
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      47
      
      After this patch:
      
      $ git-ls-files |xargs grep atmel_nand |wc -l
      109
      $ git-ls-files |xargs grep at91_nand |wc -l
      0
      $ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
      55
      $ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
      0
      Signed-off-by: NPieter du Preez <pdupreez@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      f6ed6f78
  18. 29 7月, 2008 1 次提交
  19. 27 7月, 2008 1 次提交
  20. 26 7月, 2008 1 次提交
  21. 10 7月, 2008 2 次提交