1. 03 8月, 2012 1 次提交
  2. 31 7月, 2012 1 次提交
  3. 22 7月, 2012 1 次提交
    • G
      m68k/apollo: Rename "timer" to "apollo_timer" · 1525e06e
      Geert Uytterhoeven 提交于
      In file included from include/linux/kgdb.h:17,
                       from include/linux/fb.h:8,
                       from drivers/video/dnfb.c:15:
      include/linux/serial_8250.h:71: error: expected identifier or ‘(’ before numeric constant
      include/linux/serial_8250.h:72: error: expected ‘;’ before ‘struct’
      make[1]: *** [drivers/video/dnfb.o] Error 1
      
      This is caused by
      
          #define timer (IO_BASE + timer_physaddr)
      
      in <asm/apollohw.h>, which conflicts with the new "timer" struct member in
      <linux/serial_8250.h>.
      
      Rename "timer" to "apollo_timer", as it's a way too generic name for a
      global #define.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      --
      http://kisskb.ellerman.id.au/kisskb/buildresult/6739606/
      1525e06e
  4. 20 7月, 2012 1 次提交
  5. 17 7月, 2012 7 次提交
  6. 16 7月, 2012 13 次提交
  7. 12 7月, 2012 2 次提交
  8. 27 6月, 2012 6 次提交
  9. 25 6月, 2012 1 次提交
    • G
      m68knommu: define a local devm_clk_get() function · 19a1d332
      Greg Ungerer 提交于
      Commit f4d40de3 ("net fec: do not depend
      on grouped clocks") breaks compilation of the FEC driver for non iMX
      platforms in linux-3.5-rc1. For example when compiling for ColdFire I get:
      
            LD      vmlinux
          drivers/built-in.o: In function `fec_probe':
          fec.c:(.devinit.text+0x1e0): undefined reference to `devm_clk_get'
      
      Define a simple devm_clk_get() function for the m68knommu architecture.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      19a1d332
  10. 12 6月, 2012 5 次提交
    • G
      m68k: make syscall_trace_enter/leave exist for non-MMU classic m68k types · 70c778f7
      Greg Ungerer 提交于
      The assembler entry code calls directly to the syscall_trace_enter() and
      syscall_trace_leave() functions. But currently they are conditionaly
      compiled out for the non-MMU classic m68k CPU types (so 68328 for example),
      resulting in a link error:
      
            LD      vmlinux
          arch/m68k/platform/68328/built-in.o: In function `do_trace':
          (.text+0x1c): undefined reference to `syscall_trace_enter'
          arch/m68k/platform/68328/built-in.o: In function `do_trace':
          (.text+0x4c): undefined reference to `syscall_trace_leave'
      
      Change the conditional check that includes these functions to be true for
      the !defined(CONFIG_MMU) case as well.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      70c778f7
    • G
      m68knommu: fix 68360 local setting of timer interrupt handler · 1b461d76
      Greg Ungerer 提交于
      Compiling for 68360 based targets fails with:
      
          arch/m68k/platform/68360/config.c: In function ‘hw_tick’:
          arch/m68k/platform/68360/config.c:55:2: error: implicit declaration of function ‘arch_timer_interrupt’
          arch/m68k/platform/68360/config.c: At top level:
          arch/m68k/platform/68360/config.c:64:6: error: conflicting types for ‘hw_timer_init’
          arch/m68k/include/asm/machdep.h:36:13: note: previous declaration of ‘hw_timer_init’ was here
      
      Changes made to hw_timer_init() didn't get updated in the 68328 timer code.
      So process and call the "handler" arg that is now passed into that
      hw_timer_init() function.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      1b461d76
    • G
      m68knommu: fix 68328 local setting of timer interrupt handler · dc5588ae
      Greg Ungerer 提交于
      Compiling for 68328 based targets fails with:
      
          arch/m68k/platform/68328/timers.c: In function ‘hw_tick’:
          arch/m68k/platform/68328/timers.c:65:2: error: implicit declaration of function ‘arch_timer_interrupt’
          arch/m68k/platform/68328/timers.c: At top level:
          arch/m68k/platform/68328/timers.c:102:6: error: conflicting types for ‘hw_timer_init’
          arch/m68k/include/asm/machdep.h:36:13: note: previous declaration of ‘hw_timer_init’ was here
      
      Changes made to hw_timer_init() didn't get updated in the 68328 timer code.
      So process and call the "handler" arg that is now passed into that
      hw_timer_init() function.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      dc5588ae
    • G
      m68k: fix inclusion of arch_gettimeoffset for non-MMU 68k classic CPU types · b13b3f51
      Greg Ungerer 提交于
      When building for non-MMU based classic 68k CPU types (like the 68328 for
      example) you get a compilation error:
      
        CC      arch/m68k/kernel/time.o
      arch/m68k/kernel/time.c:91:5: error: redefinition of ‘arch_gettimeoffset’
      include/linux/time.h:145:19: note: previous definition of ‘arch_gettimeoffset’ was here
      
      The arch_gettimeoffset() code is included when building for these CPU types,
      but it shouldn't be. Those machine types do not have
      CONFIG_ARCH_USES_GETTIMEOFFSET set.
      
      The fix is simply to conditionally include the arch_gettimeoffset() code on
      that same config setting that specifies its use or not.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      b13b3f51
    • S
      m68knommu: m528x qspi definition fix · f75b0d07
      Steven King 提交于
      The consolidation of the qspi code missed a definition for 528x.
      Signed-off-by: NSteven King <sfking@fdwdc.com>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      f75b0d07
  11. 10 6月, 2012 2 次提交