1. 21 5月, 2015 1 次提交
    • T
      ARM: omap1: Switch to use MULTI_IRQ · b694331c
      Tony Lindgren 提交于
      This allows us to get a bit further with SPARSE_IRQ and
      MULTIARCH support.
      
      Note that we now also rename omap_irq_flags to omap_l2_irq
      as that's the omap_irq_flags naming is confusing. It just
      contains the interrupt number for the l2 irq.
      
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b694331c
  2. 09 10月, 2013 1 次提交
    • M
      ARM: mach-omap1: Fix omap1510_fpga_init_irq() implicit declarations. · 8ff875e7
      Majunath Goudar 提交于
      This patch adds a omap1510_fpga_init_irq() inline dummy implementations
      in arch/arm/mach-omap1/common.h. Without this patch,build system can
      lead to issues. This was discovered during randconfig testing,in which
      other than CONFIG_ARCH_OMAP15XX was enabled the leading to the following
      error:
      
      CC      arch/arm/mach-omap1/board-innovator.o
      arch/arm/mach-omap1/board-innovator.c: In function ‘innovator_init’:
      arch/arm/mach-omap1/board-innovator.c:377:3: error: implicit declaration of
      function ‘omap1510_fpga_init_irq’ [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[1]: *** [arch/arm/mach-omap1/board-innovator.o] Error 1
      make: *** [arch/arm/mach-omap1] Error 2
      Signed-off-by: NManjunath Goudar <csmanjuvijay@gmail.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      8ff875e7
  3. 10 7月, 2013 1 次提交
  4. 05 3月, 2013 1 次提交
    • T
      ARM: OMAP1: Fix build related to kgdb.h no longer including serial_8250.h · 0adcbaf7
      Tony Lindgren 提交于
      Commit 16559ae4 (kgdb: remove #include <linux/serial_8250.h> from kgdb.h)
      had a side effect of breaking omap1_defconfig build as some headers
      were included indirectly:
      
      arch/arm/mach-omap1/board-h2.c:249: error: ‘INT_KEYBOARD’ undeclared here (not in a function)
      ...
      
      This worked earlier as linux/serial_8250.h included linux/serial_core.h,
      via linux/serial_8250.h from linux/kgdb.h. Fix this by including the
      necessary headers directly.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      0adcbaf7
  5. 25 12月, 2012 1 次提交
  6. 01 11月, 2012 2 次提交
  7. 30 10月, 2012 1 次提交
  8. 21 10月, 2012 1 次提交
    • P
      ARM: OMAP1: create read_reset_sources() function (for initial use by watchdog) · b5c5353d
      Paul Walmsley 提交于
      On OMAP1, the existing OMAP watchdog driver reads a register directly
      from a non-watchdog IP block.  It also does not convert the register's
      contents into the standard WDIOF_* bits expected from the
      GETBOOTSTATUS ioctl().
      
      To move towards fixing these problems, create an function in
      arch/arm/mach-omap1 to return the reset source data.  A subsequent
      patch will provide this function to the watchdog driver via
      platform_data.
      
      In the long term, the best approach would be to move this function
      to a new OMAP1 driver that handles access to the OMAP1 Clock
      Generation and Reset Management IP block.  Then no platform_data would
      be needed.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      b5c5353d
  9. 18 10月, 2012 3 次提交
  10. 12 5月, 2012 1 次提交
    • P
      ARM: OMAP1: USB: fix ocpi_enable compile problem on non-1610 builds · 121e1a73
      Paul Walmsley 提交于
      Janusz Krzysztofik reported the following build break on OMAP1 builds that
      don't include CONFIG_ARCH_OMAP16XX:
      
        LD      .tmp_vmlinux1
      arch/arm/mach-omap1/built-in.o: In function `omap1_usb_init':
      lcd_dma.c:(.init.text+0x1420): undefined reference to `ocpi_enable'
      make: *** [.tmp_vmlinux1] Error 1
      
      This was caused by commit d3645d39
      ("ARM: OMAP1: OHCI: use platform_data fn ptr to enable OCPI bus").
      Fix by declaring an empty ocpi_enable() on non-16XX builds, which
      should work until the OCPI code is moved out to drivers/.
      
      Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      121e1a73
  11. 10 5月, 2012 1 次提交
  12. 08 5月, 2012 1 次提交
  13. 13 4月, 2012 3 次提交
    • P
      ARM: OMAP1: board files: deduplicate and clean some NAND-related code · 31cde044
      Paul Walmsley 提交于
      The H2, H3, Perseus2, and FSample board files all contain the same
      duplicated code to handle NAND commands.  That code is missing
      some casts around conversions from unsigned long to void __iomem *.
      
      Consolidate the duplicated code into a new file,
      arch/arm/mach-omap1/board-nand.c.  Resolve the sparse warnings by
      adding appropriate casts:
      
      arch/arm/mach-omap1/board-h2.c:193:9: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap1/board-h2.c:193:9:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap1/board-h2.c:193:9:    got unsigned long
      arch/arm/mach-omap1/board-perseus2.c:157:9: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap1/board-perseus2.c:157:9:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap1/board-perseus2.c:157:9:    got unsigned long
      arch/arm/mach-omap1/board-fsample.c:199:9: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap1/board-fsample.c:199:9:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap1/board-fsample.c:199:9:    got unsigned long
      arch/arm/mach-omap1/board-h3.c:195:9: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap1/board-h3.c:195:9:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap1/board-h3.c:195:9:    got unsigned long
      
      Thanks to Arnd Bergmann <arnd@arndb.de> for suggesting a cleaner
      implementation of omap1_nand_cmd_ctl(), avoiding some casts.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Brian Swetland <swetland@google.com>
      Cc: Imre Deak <imre.deak@nokia.com>
      Cc: Greg Lonnon <glonnon@ridgerun.com>
      Cc: Kevin Hilman <kjh@hilman.org>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      31cde044
    • P
      ARM: OMAP1: OCPI: move to mach-omap1/ · 6f3c1af2
      Paul Walmsley 提交于
      Move the OMAP1 OCPI "bus" code to arch/arm/mach-omap1, since it is
      only used on OMAP1 devices.  In the long term, it probably makes sense
      to move the OCPI bus code to somewhere under drivers/.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      6f3c1af2
    • P
      ARM: OMAP: add includes for missing prototypes · e2ed89fc
      Paul Walmsley 提交于
      Several C files in arch/arm/mach-omap* and arch/arm/plat-omap declare
      functions that are used by other files, but don't include the header
      file where the prototype is declared.  This results in the following
      warnings from sparse:
      
          arch/arm/mach-omap2/irq.c:114:5: warning: symbol 'omap_irq_pending' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:186:13: warning: symbol 'omap2_init_irq' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:191:13: warning: symbol 'omap3_init_irq' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:196:13: warning: symbol 'ti81xx_init_irq' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:233:39: warning: symbol 'omap2_intc_handle_irq' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:242:6: warning: symbol 'omap_intc_save_context' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:265:6: warning: symbol 'omap_intc_restore_context' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:291:6: warning: symbol 'omap3_intc_suspend' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:297:6: warning: symbol 'omap3_intc_prepare_idle' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:306:6: warning: symbol 'omap3_intc_resume_idle' was not declared. Should it be static?
          arch/arm/mach-omap2/irq.c:312:39: warning: symbol 'omap3_intc_handle_irq' was not declared. Should it be static?
          arch/arm/mach-omap2/omap-secure.c:59:12: warning: symbol 'omap_secure_ram_reserve_memblock' was not declared. Should it be static?
          arch/arm/mach-omap2/board-zoom-display.c:133:13: warning: symbol 'zoom_display_init' was not declared. Should it be static?
          arch/arm/plat-omap/common.c:73:13: warning: symbol 'omap_init_consistent_dma_size' was not declared. Should it be static?
          arch/arm/mach-omap1/irq.c:61:5: warning: symbol 'omap_irq_flags' was not declared. Should it be static?
          arch/arm/mach-omap1/irq.c:179:13: warning: symbol 'omap1_init_irq' was not declared. Should it be static?
          arch/arm/mach-omap1/reset.c:11:6: warning: symbol 'omap1_restart' was not declared. Should it be static?
      
      Fix by including the appropriate header files.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Cc: Senthilvadivu Guruswamy <svadivu@ti.com>
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      
      e2ed89fc
  14. 25 2月, 2012 1 次提交
  15. 05 1月, 2012 1 次提交
  16. 18 11月, 2011 1 次提交
  17. 20 10月, 2009 1 次提交
    • T
      omap: headers: Create headers necessary for compile under mach-omap1 and mach-omap2 · 3eff851b
      Tony Lindgren 提交于
      Create the headers needed for compiling under
      mach-omap1/include/mach and mach-omap2/include/mach.
      
      This was done with the following script:
      
      #!/bin/bash
      mach_files="clkdev.h gpio.h hardware.h io.h irqs.h memory.h \
      smp.h system.h timex.h uncompress.h vmalloc.h"
      omaps="mach-omap1 mach-omap2"
      
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      
      mkdir -p $plat_dir_new
      git add $plat_dir_new
      
      for dir in $omaps; do
      	mach_dir_new="arch/arm/$dir/include/mach"
      	for header in $mach_files; do
      		file="$mach_dir_new/$header"
      		if [ ! -f $file ]; then
      			echo -ne "/*\n * $file\n */\n\n#include <plat/$header>\n" > $file
      			git add $file
      			if [ ! -f $plat_dir_new/$header ]; then
      				git mv $mach_dir_old/$header $plat_dir_new/$header
      			fi
      		fi
      	done
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3eff851b
  18. 07 8月, 2008 1 次提交
  19. 10 11月, 2005 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4