1. 10 8月, 2011 2 次提交
    • P
      OMAP: hwmod: fix build break on non-OMAP4 multi-OMAP2 builds · c9a48c2a
      Paul Walmsley 提交于
      Builds for multi-OMAP2 (e.g., OMAP2420 with OMAP2430) with
      CONFIG_ARCH_OMAP4=n fail with the following errors:
      
      arch/arm/mach-omap2/built-in.o: In function `_enable_module':
      arch/arm/mach-omap2/omap_hwmod.c:701: undefined reference to `omap4_cminst_module_enable'
      arch/arm/mach-omap2/built-in.o: In function `_disable_module':
      arch/arm/mach-omap2/omap_hwmod.c:726: undefined reference to `omap4_cminst_module_disable'
      arch/arm/mach-omap2/built-in.o: In function `_wait_target_disable':
      arch/arm/mach-omap2/omap_hwmod.c:1179: undefined reference to `omap4_cminst_wait_module_idle'
      
      This is probably due to the preprocessor directives in
      arch/arm/plat-omap/include/plat/cpu.h that convert some cpu_is_omap*()
      expressions from preprocessor directives into something that is only
      resolvable during runtime, if multiple OMAP2 build targets are
      selected.
      
      Thanks to Tony Lindgren <tony@atomide.com> for reporting.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c9a48c2a
    • P
      OMAP: Fix linking error in twl-common.c for OMAP2/3/4 only builds · d12d1fca
      Peter Ujfalusi 提交于
      Commit b22f954b (OMAP4: Move common twl6030 configuration to twl-common)
      caused compile failures for code for OMAP arch which is not selected by
      the config.
      
      Fixes issues like:
      With CONFIG_ARCH_OMAP3=y and CONFIG_ARCH_OMAP4=n, I'm getting this:
      
      arch/arm/mach-omap2/built-in.o:(.data+0xf99c): undefined reference to `omap4430_phy_init'
      arch/arm/mach-omap2/built-in.o:(.data+0xf9a0): undefined reference to `omap4430_phy_exit'
      arch/arm/mach-omap2/built-in.o:(.data+0xf9a4): undefined reference to `omap4430_phy_power'
      arch/arm/mach-omap2/built-in.o:(.data+0xf9a8): undefined reference to `omap4430_phy_set_clk'
      arch/arm/mach-omap2/built-in.o:(.data+0xf9ac): undefined reference to `omap4430_phy_suspend'
      
      Fix the problem by moving the code to ifdef sections for omap3 and omap4.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      [tony@atomide.com: updated comments]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      d12d1fca
  2. 08 8月, 2011 2 次提交
  3. 06 8月, 2011 1 次提交
  4. 05 8月, 2011 8 次提交
  5. 04 8月, 2011 11 次提交
  6. 03 8月, 2011 16 次提交