1. 01 Oct, 2011 11 commits
    • Arnd Bergmann's avatar
      ARM: common/vic: use proper __iomem annotations · d4f3add2
      Arnd Bergmann authored
      In vic_init, we pass addr into readl, so it needs to be a
      pointer, not a u32 address.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d4f3add2
    • Arnd Bergmann's avatar
      ARM: OC_ETM should not select ARM_AMBA · 53eebb0d
      Arnd Bergmann authored
      The CONFIG_ARM_AMBA symbol is selected by the platforms that support
      AMBA, and the other platforms (e.g. orion) might not be able to
      build that code at all when they do not support the clk API.
      
      Instead, make sure that OC_ETM is only built on platforms that
      do support the amba subsystem already.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      53eebb0d
    • Arnd Bergmann's avatar
      ARM: pci: always export pcibios_bus_to_resource · b214bea5
      Arnd Bergmann authored
      Some PCI drivers call pcibios_bus_to_resource directly,
      but it is only exported when CONFIG_HOTPLUG is set,
      because it was initially mean for pccard support.
      
      Moving the export out of the #ifdef lets us avoid these
      build errors:
      
      ERROR: "pcibios_bus_to_resource" [drivers/video/vt8623fb.ko] undefined!
      ERROR: "pcibios_bus_to_resource" [drivers/video/arkfb.ko] undefined!
      ERROR: "pcibios_bus_to_resource" [drivers/video/s3fb.ko] undefined!
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      b214bea5
    • Arnd Bergmann's avatar
      ARM: add io{read,write}{16,32}be functions · 06901bd8
      Arnd Bergmann authored
      These functions are used in some PCI drivers with big-endian
      MMIO space, and they are trivial to add here.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      06901bd8
    • Arnd Bergmann's avatar
      ARM: limit CONFIG_HAVE_IDE to platforms that do · d0ee9f40
      Arnd Bergmann authored
      Support for IDE drivers should not be automatic, since most platforms
      cannot actually support any IDE low-level drivers. This partly
      reverts 2064c946 "ARM: always select HAVE_IDE" to set this symbol
      only when either a PC-style bus (PCI, ISA, PCMCIA) is enabled or
      a platform is used that is known to have an existing driver in
      drivers/ide.
      
      New platforms should not need this option and just use CONFIG_ATA
      with drivers/ata/.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d0ee9f40
    • Arnd Bergmann's avatar
      ARM: pm: let platforms select cpu_suspend support · 15e0d9e3
      Arnd Bergmann authored
      Support for the cpu_suspend functions is only built-in
      when CONFIG_PM_SLEEP is enabled, but omap3/4, exynos4
      and pxa always call cpu_suspend when CONFIG_PM is enabled.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      15e0d9e3
    • Arnd Bergmann's avatar
      ARM: vfp: use -mfloat-abi=soft to build vfp · 82b9c18d
      Arnd Bergmann authored
      Distros are starting to ship with toolchains defaulting to
      hardfloat. Using such a compiler to build the kernel fails
      in the VFP directory with
      
      arch/arm/vfp/entry.S:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP
      
      Adding -mfloat-abi=soft to the gcc command line fixes this.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      82b9c18d
    • Arnd Bergmann's avatar
      ARM: allow building alignment.c without PROC_FS · ffc660c5
      Arnd Bergmann authored
      The two functions cpu_is_v6_unaligned and safe_usermode
      are only defined when CONFIG_PROC_FS is enabled, but
      are used outside of the #ifdef.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Dave Martin <dave.martin@linaro.org>
      ffc660c5
    • Arnd Bergmann's avatar
      ARM: always use ARM_UNWIND for thumb2 kernels · 89bace65
      Arnd Bergmann authored
      Thumb2 kernels cannot be built with frame pointers, but can use the
      ARM_UNWIND feature for unwinding instead. This makes sure that all
      features that rely on unwinding includeing CONFIG_LATENCYTOP and
      FAULT_INJECTION_STACKTRACE_FILTER do not enable frame pointers
      when the unwinder is already selected, and we always build with
      the unwinder when we want a thumb2 kernel, to make sure we do not
      get the frame pointers instead.
      
      A different option would be to redefine the CONFIG_FRAME_POINTERS
      option on ARM to mean builing with either frame pointers or
      the unwinder, and then select which one to use based on the
      CPU architecture or another user option. That would still allow
      building thumb2 kernels without the unwinder but would also be
      more confusing.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      89bace65
    • Arnd Bergmann's avatar
      ARM: SMP depends on MMU · 9934ebb8
      Arnd Bergmann authored
      The SMP implementation on ARM heavily depends on MMU-only code.
      As long as nobody is interested in fixing this, let's disable the
      SMP option when building for nommu.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      9934ebb8
    • Arnd Bergmann's avatar
      ARM: export rtc_lock for nvram driver · 63216d3c
      Arnd Bergmann authored
      The rtc_lock is used by both the nvram and rtc drivers, so
      we need to export it if at least one of the two is built,
      not just for the rtc driver.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      63216d3c
  2. 29 Aug, 2011 1 commit
  3. 28 Aug, 2011 1 commit
  4. 27 Aug, 2011 2 commits
  5. 26 Aug, 2011 13 commits
  6. 25 Aug, 2011 12 commits