1. 20 6月, 2011 1 次提交
    • T
      omap: Set separate timer init functions to avoid cpu_is_omap tests · e74984e4
      Tony Lindgren 提交于
      This is needed for the following patches so we can initialize the
      rest of the hardware timers later on.
      
      As with the init_irq calls, there's no need to do cpu_is_omap calls
      during the timer init as we only care about the major omap generation.
      This means that we can initialize the sys_timer with the .timer
      entries alone.
      
      Note that for now we just set stubs for the various sys_timer entries
      that will get populated in a later patch. The following patches will
      also remove the omap_dm_timer_init calls and change the init for the
      rest of the hardware timers to happen with an arch_initcall.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Reviewed-by: NKevin Hilman <khilman@ti.com>
      e74984e4
  2. 16 6月, 2011 1 次提交
  3. 01 6月, 2011 1 次提交
  4. 24 5月, 2011 3 次提交
  5. 21 5月, 2011 1 次提交
  6. 17 5月, 2011 1 次提交
  7. 31 3月, 2011 1 次提交
  8. 29 3月, 2011 2 次提交
  9. 09 3月, 2011 1 次提交
    • P
      OMAP1: McBSP: fix build break for non-multi-OMAP1 configs · e7916740
      Paul Walmsley 提交于
      Commit 3cf32bba ("OMAP: McBSP: Convert
      McBSP to platform device model") breaks compilation with non-multi-OMAP1
      configs:
      
        CC      arch/arm/mach-omap1/mcbsp.o
      arch/arm/mach-omap1/mcbsp.c: In function 'omap1_mcbsp_init':
      arch/arm/mach-omap1/mcbsp.c:384: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:387: error: invalid use of void expression
      arch/arm/mach-omap1/mcbsp.c:390: warning: dereferencing 'void *' pointer
      arch/arm/mach-omap1/mcbsp.c:393: error: invalid use of void expression
      
      Fix by avoiding NULL dereferences.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Acked-by: NJarkko Nikula <jhnikula@gmail.com>
      [tony@atomide.com: updated description not to remove unnecessary branch name]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e7916740
  10. 25 2月, 2011 1 次提交
  11. 18 2月, 2011 1 次提交
  12. 10 2月, 2011 2 次提交
  13. 04 2月, 2011 1 次提交
  14. 03 2月, 2011 1 次提交
  15. 02 2月, 2011 1 次提交
  16. 28 1月, 2011 9 次提交
    • A
      arm: mach-omap1: board-voiceblue: add missing include · 232bc651
      Aaro Koskinen 提交于
      Eliminates the following sparse warnings:
      
      	arch/arm/mach-omap1/board-voiceblue.c:253:6: warning: symbol 'voiceblue_wdt_enable' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:261:6: warning: symbol 'voiceblue_wdt_disable' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:269:6: warning: symbol 'voiceblue_wdt_ping' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-voiceblue.c:278:6: warning: symbol 'voiceblue_reset' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      232bc651
    • R
      ARM: OMAP: Allow platforms to hook reset cleanly · ee54dba9
      Russell King - ARM Linux 提交于
      This adds a clean method to allow platforms to hook into the reset
      code if they require to.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ee54dba9
    • A
      arm: mach-omap1: board-h3: make nand_platdata static · 277a2856
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-h3.c:207:27: warning: symbol 'nand_platdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      277a2856
    • A
      arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static · 140089da
      Aaro Koskinen 提交于
      Eliminates the following sparse warnings:
      
      	arch/arm/mach-omap1/board-htcherald.c:334:34: warning: symbol 'htcpld_chips' was not declared. Should it be static?
      	arch/arm/mach-omap1/board-htcherald.c:369:34: warning: symbol 'htcpld_pfdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      140089da
    • A
      arm: mach-omap1: board-innovator: make innovator_mmc_init() static · 04023542
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-innovator.c:368:13: warning: symbol 'innovator_mmc_init' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      04023542
    • A
      arm: mach-omap1: board-h2: make h2_nand_platdata static · 5db98f75
      Aaro Koskinen 提交于
      Eliminates the following sparse warning:
      
      	arch/arm/mach-omap1/board-h2.c:205:27: warning: symbol 'h2_nand_platdata' was not declared. Should it be static?
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5db98f75
    • F
      arm: omap1: fix a bunch of section mismatches · bdc58fb9
      Felipe Balbi 提交于
      Fix the following section mismatches:
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x491c): Section mismatch
      in reference from the variable fsample_config to the (unknown reference)
      .init.data:(unknown)
      The variable fsample_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x8f0c): Section mismatch
      in reference from the variable ams_delta_config to the (unknown
      reference) .init.data:(unknown)
      The variable ams_delta_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: arch/arm/mach-omap1/built-in.o(.data+0x93ac): Section mismatch
      in reference from the variable ams_delta_camera_device to the (unknown
      reference) .init.data:(unknown)
      The variable ams_delta_camera_device references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0x5e94): Section mismatch in reference from the
      variable fsample_config to the (unknown reference) .init.data:(unknown)
      The variable fsample_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0xa484): Section mismatch in reference from the
      variable ams_delta_config to the (unknown reference)
      .init.data:(unknown)
      The variable ams_delta_config references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      WARNING: vmlinux.o(.data+0xa924): Section mismatch in reference from the
      variable ams_delta_camera_device to the (unknown reference)
      .init.data:(unknown)
      The variable ams_delta_camera_device references
      the (unknown reference) __initdata (unknown)
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the
      variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      bdc58fb9
    • F
      arm: omap1: fix compile warning · ae3126ed
      Felipe Balbi 提交于
      Fix the following compile warning:
      arch/arm/mach-omap1/board-palmte.c:233:13: warning:
      'palmte_headphones_detect' defined but not used
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ae3126ed
    • T
      omap1: Simplify use of omap_irq_flags · efe318a3
      Tony Lindgren 提交于
      Commit 03a9e512
      (omap1: Use asm_irq_flags for entry-macro.S) added support
      for multi-omap builds with addition of the omap_irq_flags.
      
      Commit 9f9605c2
      (omap2+: Fix unused variable warning for omap_irq_base)
      simplified omap2+ entry-macro.S by moving omap_irq_flags
      out of entry-macro.S.
      
      Simplify omap1 entry-macro.S in a similar way to keep the
      code consistent. Based on a similar earlier patch for omap2+
      by Russell King <rmk+kernel@arm.linux.org.uk>.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      efe318a3
  17. 20 1月, 2011 2 次提交
  18. 19 1月, 2011 2 次提交
    • T
      omap1: Fix sched_clock for the MPU timer · f376ea17
      Tony Lindgren 提交于
      Otherwise systems using the MPU timer will hang.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      f376ea17
    • P
      OMAP: counter_32k: init clocksource as part of machine timer init · d8328f3b
      Paul Walmsley 提交于
      After commit dc548fbb ("ARM: omap: convert
      sched_clock() to use new infrastructure"), OMAPs that use the 32KiHz
      "synchronization timer" as their clocksource crash during boot:
      
      [    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
      [    0.000000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
      [    0.000000] pgd = c0004000
      [    0.000000] [00000000] *pgd=00000000
      [    0.000000] Internal error: Oops: 80000005 [#1] SMP
      [    0.000000] last sysfs file:
      [    0.000000] Modules linked in:
      [    0.000000] CPU: 0    Tainted: G        W    (2.6.37-07734-g2467802 #7)
      [    0.000000] PC is at 0x0
      [    0.000000] LR is at sched_clock_poll+0x2c/0x3c
      [    0.000000] pc : [<00000000>]    lr : [<c0060b74>]    psr: 600001d3
      [    0.000000] sp : c058bfd0  ip : c058a000  fp : 00000000
      [    0.000000] r10: 00000000  r9 : 411fc092  r8 : 800330c8
      [    0.000000] r7 : c05a08e0  r6 : c0034c48  r5 : c05ffc40  r4 : c0034c4c
      [    0.000000] r3 : c05ffe6c  r2 : c05a0bc0  r1 : c059f098  r0 : 00000000
      [    0.000000] Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
      [    0.000000] Control: 10c53c7f  Table: 8000404a  DAC: 00000017
      
      This is due to the recent ARM init_sched_clock() changes and the late
      initialization of the counter_32k clock source.  More information here:
      
         http://marc.info/?l=linux-omap&m=129513468605208&w=2
      
      Fix by initializing the counter_32k clocksource during the machine timer
      initialization.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Tested-by: NThomas Weber <weber@corscience.de>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      d8328f3b
  19. 14 1月, 2011 1 次提交
  20. 06 1月, 2011 2 次提交
  21. 23 12月, 2010 2 次提交
  22. 22 12月, 2010 1 次提交
  23. 21 12月, 2010 2 次提交