1. 04 12月, 2012 1 次提交
  2. 10 10月, 2012 1 次提交
    • A
      ARM: pass -marm to gcc by default for both C and assembler · 91802a8e
      Arnd Bergmann 提交于
      The Linaro cross toolchain and probably others nowadays default to
      building in THUMB2 mode. When building a kernel for a CPU that does
      not support THUMB2, the compiler complains about incorrect flags.
      We can work around this by setting -marm for all non-T2 builds.
      
      -marm was passed unconditionally for C files previously, but nothing was
      passed to the gcc frontend when processing .S files, resulting in a
      warning.  The assembler never defaults to ARM unless -Wa,-mthumb is
      supplied explicitly, so the files were still assembled correctly.
      
      This patch makes sure that -marm is passed for .S files too, and also
      avoids the redundant gcc -marm -mthumb in Thumb kernels.
      
      Without this patch, building assabet_defconfig results in:
      
      usr/initramfs_data.S:1:0: warning: target CPU does not support THUMB instructions [enabled by default]
      arch/arm/nwfpe/entry.S:1:0: warning: target CPU does not support THUMB instructions [enabled by default]
      firmware/cis/PCMLM28.cis.gen.S:1:0: warning: target CPU does not support THUMB instructions [enabled by default]
      (and many more)
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NDave Martin <dave.martin@linaro.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      91802a8e
  3. 29 9月, 2012 1 次提交
  4. 20 9月, 2012 1 次提交
  5. 16 9月, 2012 1 次提交
  6. 14 9月, 2012 1 次提交
    • R
      ARM: initial multiplatform support · 387798b3
      Rob Herring 提交于
      This lets us build a multiplatform kernel for experimental purposes.
      However, it will not be useful for any real work, because it relies
      on a number of useful things to be disabled for now:
      
      * SMP support must be turned off because of conflicting symbols.
        Marc Zyngier has proposed a solution by adding a new SOC
        operations structure to hold indirect function pointers
        for these, but that work is currently stalled
      
      * We turn on SPARSE_IRQ unconditionally, which is not supported
        on most platforms. Each of them is currently in a different
        state, but most are being worked on.
      
      * A common clock framework is in place since v3.4 but not yet
        being used. Work on this is on its way.
      
      * DEBUG_LL for early debugging is currently disabled.
      
      * THUMB2_KERNEL does not work with allyesconfig because the
        kernel gets too big
      
      [Rob Herring]: Rebased to not be dependent on the mass mach header rename.
      As a result, omap2plus, imx, mxs and ux500 are not converted. Highbank,
      picoxcell, mvebu, and socfpga are converted.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Acked-by: NJamie Iles <jamie@jamieiles.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      387798b3
  7. 08 9月, 2012 1 次提交
  8. 07 9月, 2012 1 次提交
  9. 26 8月, 2012 1 次提交
  10. 14 9月, 2012 1 次提交
  11. 19 7月, 2012 1 次提交
  12. 10 7月, 2012 1 次提交
  13. 04 6月, 2012 1 次提交
    • V
      ARM: 7420/1: Improve build environment isolation · bcccc50c
      Vincent Sanders 提交于
      Increasingly distributions are setting default build environments to
      have LDFLAGS with hardening options. There seems to be an assumption
      with those options that LDFLAGS are passed to the compiler frontend
      rather than used directly with ld (which the kernel build process
      assumes)
      
      To prevent build failures in such environments this patch changes the
      ARM architecture Makefile to override the LDFLAGS from the environment
      similar to the behaviour on other common architectures e.g. x86
      Signed-off-by: NVincent Sanders <vince@collabora.co.uk>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      bcccc50c
  14. 14 5月, 2012 1 次提交
  15. 13 5月, 2012 1 次提交
  16. 08 5月, 2012 1 次提交
  17. 05 5月, 2012 2 次提交
  18. 06 4月, 2012 1 次提交
    • R
      ARM: remove ixp23xx and ixp2000 platforms · c65f2abf
      Rob Herring 提交于
      ixp2xxx platforms have had no real changes since ~2006 and the maintainer
      has said on irc that they can be removed:
      
      13:05 < nico> do you still care about ixp2000?
      13:22 < lennert> not really, no
      13:58 < nico> do you think we could remove it from the kernel tree?
      14:01 < lennert> go for it, and remove ixp23xx too while you're at it
      
      Removing will help simplify ARM consolidation in general and PCI re-work
      specifically.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Acked-by: NLennert Buytenhek <buytenh@wantstofly.org>
      c65f2abf
  19. 24 3月, 2012 1 次提交
  20. 14 3月, 2012 1 次提交
  21. 06 3月, 2012 1 次提交
  22. 03 3月, 2012 4 次提交
    • K
      ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/ · 84c028b9
      Kukjin Kim 提交于
      This patch moves S3C2443 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      84c028b9
    • K
      ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/ · 26febf8e
      Kukjin Kim 提交于
      This patch moves S3C2416 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Tested-by: NHeiko Stuebner <heiko@sntech.de>
      [kgene.kim@samsung.com: removed compiling s3c2416 as per Heiko's suggestion]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      26febf8e
    • K
      ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ · 85fd6d63
      Kukjin Kim 提交于
      This patch moves S3C2410 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      And this patch is including following.
      - re-ordered alphabetically by option text at Kconfig and Makefile
      - removed unused option, MACH_N35
      - fixed duplcated option name, S3C2410_DMA to S3C24XX_DMA which is
        in plat-s3c24xx/
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      85fd6d63
    • K
      ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX · b130d5c2
      Kukjin Kim 提交于
      This patch changes the ARCH name to "ARCH_S3C24XX" for Samsung
      S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443,
      and S3C2450 SoCs so that we can merge the mach-xxx directories
      and plat-s3c24xx dir. to just one mach-s3c24xx for them.
      
      I think this should be sent to upstream via samsung tree because
      this touches many samsung stuff.
      
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      [for the gadget part:]
      Acked-by: NFelipe Balbi <balbi@ti.com>
      [for the framebuffer (video) part:]
      Acked-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      [For the watchdog-part:]
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      b130d5c2
  23. 25 2月, 2012 1 次提交
    • T
      ARM: OMAP2+: Fix multiple randconfig errors with SOC_OMAP and SOC_OMAP_NOOP · c295fb63
      Tony Lindgren 提交于
      If we don't have ARCH_OMAP2, 3 or 4 selected randconfig will always
      fail with multiple errors as the CPU and MACHINE are not set.
      
      Fix this by changing arch/arm/Makefile to build mach-omap2 based on
      ARCH_OMAP2PLUS. And let's introduce SOC_OMAP and SOC_OMAP_NOOP that
      allow randconfig to generate buildable .config files.
      
      Note that we can also remove few uncecssary ARCH_OMAP2PLUS lines
      as they are all within if ARCH_OMAP2PLUS block.
      
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c295fb63
  24. 05 1月, 2012 1 次提交
  25. 16 11月, 2011 1 次提交
  26. 06 11月, 2011 1 次提交
    • K
      ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos · 83014579
      Kukjin Kim 提交于
      The arch/arm/mach-exynos4 directory (CONFIG_ARCH_EXYNOS4) has
      made for plaforms based on EXYNOS4 SoCs. But since upcoming
      Samsung's SoCs such as EXYNOS5 (ARM Cortex A15) can reuse most
      codes in current mach-exynos4, one mach-exynos directory will
      be used for them.
      
      This patch changes to CONFIG_ARCH_EXYNOS (arch/arm/mach-exynos)
      but keeps original CONFIG_ARCH_EXYNOS4 in mach-exynos/Kconfig to
      avoid changing in driver side.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      83014579
  27. 31 10月, 2011 3 次提交
  28. 26 9月, 2011 1 次提交
    • J
      picoxcell: support for Picochip picoxcell devices · af75655c
      Jamie Iles 提交于
      picoXcell is a family of femtocell devices with an ARM application
      processor and picoArray DSP processor array.
      
      This patch adds support for picoXcell boards to be booted using the
      device tree registering the VIC's, UART's and timers.
      
      v3:	- fixup vic compatible string in binding
      v2:	- cleanup empty mach headers
      	- convert to of_platform_populate()
      	- simplify uncompress.h
      	- split vic node into 2 devices
      	- add missing __initconst attributes
      Signed-off-by: NJamie Iles <jamie@jamieiles.com>
      af75655c
  29. 22 9月, 2011 1 次提交
    • N
      ARM: mach-nuc93x: delete · 4702abd3
      Nicolas Pitre 提交于
      This architecture received only generic maintenance since December 2009
      when it was originally submitted, and no actual additional support since
      then.  It has no defconfig entry either, meaning that it was never built
      by the ARM KAutobuild.  Incidentally it currently doesn't build either
      when CONFIG_MACH_NUC932EVB is selected which is the only possible config
      choice.
      
      This is therefore dead code and should be removed.  If someone wants to
      revive this code, it could be retrieved from the Git repository, and
      ideally be merged in mach-w90x900/ instead.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      4702abd3
  30. 24 8月, 2011 1 次提交
  31. 13 8月, 2011 1 次提交
    • S
      ARM: 7012/1: Set proper TEXT_OFFSET for newer MSMs · 9e775ad1
      Stephen Boyd 提交于
      MSMs post 8x50 have 2Mb at the beginning of RAM reserved for
      shared memory. Since the kernel hasn't typically been told this
      RAM exists, PHYS_OFFSET has been set to 0xN0200000 and the memory
      atags passed to the kernel have matched. This doesn't play nicely
      with things such as AUTO_ZRELADDR, which doesn't work at all, and
      dynamic phys to virt, which requires an MSM specific workaround.
      
      Work around these issues by telling the kernel RAM starts at
      0xN0000000 (it actually does) and fixup the atags from the
      bootloader (if necessary) to say the same. In addition, make sure
      to set TEXT_OFFSET at least 2Mb beyond the start of RAM so that
      the kernel doesn't end up being decompressed into shared memory.
      
      After doing this, AUTO_ZRELADDR should work on MSM with no
      problems and ARM_PATCH_PHYS_VIRT_16BIT should no longer be
      necessary.
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Acked-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: NDavid Brown <davidb@codeaurora.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9e775ad1
  32. 25 7月, 2011 1 次提交
  33. 18 7月, 2011 2 次提交
    • N
      ARM: mach-loki: delete · c8b7d43b
      Nicolas Pitre 提交于
      This was introduced more than 3 years ago, and since then only generic
      janitorial changes were made without further addition of actual support
      for "real" devices.  This is therefore a cost with no benefits to keep
      in the tree.  If someone wishes to revive this code, it is always
      possible to retrieve it from the Git repository.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      CC: Ke Wei <kewei@marvell.com>
      CC: Saeed Bishara <saeed@marvell.com>
      CC: Lennert Buytenhek <buytenh@wantstofly.org>
      c8b7d43b
    • N
      ARM: mach-s3c2400: delete · 632b7cf6
      Nicolas Pitre 提交于
      On Tue, 28 Jun 2011, Ben Dooks wrote:
      
      > On Tue, Jun 28, 2011 at 11:22:57PM +0200, Arnd Bergmann wrote:
      >
      > > On a related note, what about mach-s3c2400? It seems to be even more
      > > incomplete.
      >
      > Probably the same fate awaits that. It is so old that there's little
      > incentive to do anything with it.
      
      So out it goes as well.
      
      The PORT_S3C2400 definition in include/linux/serial_core.h is left there
      to prevent a reuse of the same number for another port type.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      632b7cf6