Arnd Bergmann
2960ed3468
ARM: netx: move platform_data definitions
...
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.
This moves such data out of the netx include directories
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Nicolas Pitre <nico@linaro.org >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: netdev@vger.kernel.org
2012-09-14 11:17:36 +02:00
Viresh Kumar
7041717e7c
arch/arm/mach-netx/fb.c: reuse dummy clk routines for CONFIG_HAVE_CLK=n
...
mach-netx had its own implementation of clk routines like, clk_get{put},
clk_enable{disable}, etc. And with introduction of following patchset:
https://lkml.org/lkml/2012/4/24/154
we get compilation error for multiple definition of these routines.
Sascha had following suggestion to deal with it:
http://www.spinics.net/lists/arm-kernel/msg179369.html
So, remove this code completely.
Signed-off-by: Viresh Kumar <viresh.kumar2@arm.com >
Reported-by: Paul Gortmaker <paul.gortmaker@gmail.com >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2012-07-30 17:25:13 -07:00
Rob Herring
a2a47ca366
ARM: __io abuse cleanup
...
Several platforms incorrectly use __io() for casting to 'void __iomem *'.
This converts all of those uses to use the common IOMEM macro.
Reported-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Rob Herring <rob.herring@calxeda.com >
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Paul Mundt <lethal@linux-sh.org >
Cc: Magnus Damm <magnus.damm@gmail.com >
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Cc: linux-sh@vger.kernel.org
Acked-by: Arnd Bergmann <arnd@arndb.de >
2012-03-13 21:25:21 -05:00
Rob Herring
4d5fc58dbe
ARM: remove bunch of now unused mach/io.h files
...
Now that many platforms don't need mach/io.h, remove the unused ones.
Signed-off-by: Rob Herring <rob.herring@calxeda.com >
Acked-by: Shawn Guo <shawn.guo@linaro.org >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com >
Acked-by: Jamie Iles <jamie@jamieiles.com >
Acked-by: Pawel Moll <pawel.moll@arm.com >
Acked-by: Nicolas Pitre <nico@linaro.org >
2012-03-06 21:34:44 -06:00
Russell King
61b80086a5
Merge branch 'entry-macro-cleanup' of git://sources.calxeda.com/kernel/linux into for-armsoc
2012-02-22 22:04:41 +00:00
Rob Herring
230f984662
ARM: remove disable_fiq and arch_ret_to_user macros
...
Now that most platforms don't need disable_fiq and arch_ret_to_user
macros, we can remove the empty macros or empty entry-macro.S files.
Signed-off-by: Rob Herring <rob.herring@calxeda.com >
Acked-by: Jamie Iles <jamie@jamieiles.com >
Acked-by: Nicolas Pitre <nico@linaro.org >
Acked-by: Tony Lindgren <tony@atomide.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Ryan Mallon <rmallon@gmail.com >
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Acked-by: Shawn Guo <shawn.guo@linaro.org >
2012-02-21 17:05:18 -06:00
Russell King
dcf81c1af8
Merge branch 'amba' into for-armsoc
2012-01-26 19:59:44 +00:00
Russell King
d948b454b0
ARM: amba: netx: use common amba device initializers
...
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2012-01-26 19:59:29 +00:00
Russell King
0860cc2826
ARM: amba: netx: get rid of NO_IRQ initializers
...
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2012-01-25 11:04:02 +00:00
Nicolas Pitre
a570067df9
ARM: big removal of now unused arch_idle()
...
When this is the only content remaining in mach/system.h then the
whole file is removed.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Acked-and-tested-by: Jamie Iles <jamie@jamieiles.com >
Acked-by: Tony Lindgren <tony@atomide.com >
Acked-by: David Brown <davidb@codeaurora.org >
Acked-by: Stephen Warren <swarren@nvidia.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
2012-01-20 19:25:58 -05:00
Russell King
7b9dd47136
Merge branch 'restart' into for-linus
...
Conflicts:
arch/arm/mach-exynos/cpu.c
The changes to arch/arm/mach-exynos/cpu.c were moved to
mach-exynos/common.c.
2012-01-05 13:25:27 +00:00
Russell King
f88b8979d2
ARM: restart: remove the now empty arch_reset()
...
Remove the now empty arch_reset() from all the mach/system.h includes,
and remove its callsite. Remove arm_machine_restart() as this function
no longer does anything useful.
For samsung platforms, remove the include of mach/system-reset.h and
plat/system-reset.h from their respective mach/system.h headers as these
just define their arch_reset functions. As a result, the s3c2410 and
plat-samsung system-reset.h files are no longer referenced, so remove
these files entirely.
Acked-by: Nicolas Pitre <nico@linaro.org >
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Acked-by: Jamie Iles <jamie@jamieiles.com >
Acked-by: Tony Lindgren <tony@atomide.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2012-01-05 12:57:22 +00:00
Russell King
8fb06b1242
ARM: restart: netx: use new restart hook
...
Hook these platforms restart code into the new restart hook rather
than using arch_reset().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2012-01-05 12:57:16 +00:00
Russell King
73829af71f
Merge branch 'vmalloc' of git://git.linaro.org/people/nico/linux into devel-stable
2011-12-05 23:27:59 +00:00
Nicolas Pitre
d0e6b2236a
ARM: big removal of now unused vmalloc.h files
...
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org >
2011-11-26 19:21:29 -05:00
Jamie Iles
14f127bada
ARM: netx: convert to MULTI_IRQ_HANDLER
...
Now that there is a generic IRQ handler for multiple VIC devices use it
for netx to help building multi platform kernels.
Signed-off-by: Jamie Iles <jamie@jamieiles.com >
2011-11-15 18:14:03 +00:00
Paul Gortmaker
dc28094b90
arm: Add export.h to ARM specific files as required.
...
These files all make use of one of the EXPORT_SYMBOL variants
or the THIS_MODULE macro. So they will need <linux/export.h>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com >
2011-10-31 19:30:50 -04:00
Linus Torvalds
1fdb24e969
Merge branch 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm
...
* 'devel-stable' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm : (178 commits)
ARM: 7139/1: fix compilation with CONFIG_ARM_ATAG_DTB_COMPAT and large TEXT_OFFSET
ARM: gic, local timers: use the request_percpu_irq() interface
ARM: gic: consolidate PPI handling
ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H
ARM: mach-s5p64x0: remove mach/memory.h
ARM: mach-s3c64xx: remove mach/memory.h
ARM: plat-mxc: remove mach/memory.h
ARM: mach-prima2: remove mach/memory.h
ARM: mach-zynq: remove mach/memory.h
ARM: mach-bcmring: remove mach/memory.h
ARM: mach-davinci: remove mach/memory.h
ARM: mach-pxa: remove mach/memory.h
ARM: mach-ixp4xx: remove mach/memory.h
ARM: mach-h720x: remove mach/memory.h
ARM: mach-vt8500: remove mach/memory.h
ARM: mach-s5pc100: remove mach/memory.h
ARM: mach-tegra: remove mach/memory.h
ARM: plat-tcc: remove mach/memory.h
ARM: mach-mmp: remove mach/memory.h
ARM: mach-cns3xxx: remove mach/memory.h
...
Fix up mostly pretty trivial conflicts in:
- arch/arm/Kconfig
- arch/arm/include/asm/localtimer.h
- arch/arm/kernel/Makefile
- arch/arm/mach-shmobile/board-ap4evb.c
- arch/arm/mach-u300/core.c
- arch/arm/mm/dma-mapping.c
- arch/arm/mm/proc-v7.S
- arch/arm/plat-omap/Kconfig
largely due to some CONFIG option renaming (ie CONFIG_PM_SLEEP ->
CONFIG_ARM_CPU_SUSPEND for the arm-specific suspend code etc) and
addition of NEED_MACH_MEMORY_H next to HAVE_IDE.
2011-10-28 12:02:27 -07:00
Sascha Hauer
40c6d8aee4
ARM: 7022/1: allow to detect conflicting zreladdrs
...
Boards used to specify zreladdr in their Makefile.boot with
zreladdr-y := x, so conflicting zreladdrs were silently overwritten.
This patch changes this to zreladdr-y += x, so that we end
up with multiple words in zreladdr in such a case. We can
detect this later and complain if necessary.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-10-17 09:12:40 +01:00
Nicolas Pitre
ff4067e4cf
ARM: mach-netx: remove mach/memory.h
...
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org >
2011-10-13 12:49:35 -04:00
Nicolas Pitre
639da5ee37
ARM: add an extra temp register to the low level debugging addruart macro
...
Some platforms (like OMAP not to name it) are doing rather complicated
hacks just to determine the base UART address to use. Let's give their
addruart macro some slack by providing an extra work register which will
allow for much needed cleanups.
This is basically a no-op as this commit is only adding the extra argument
to the macro but no one is using it yet.
Signed-off-by: nicolas Pitre <nicolas.pitre@linaro.org >
Reviewed-by: Kevin Hilman <khilman@ti.com >
2011-09-26 10:11:25 -04:00
Nicolas Pitre
b11fd42cad
ARM: mach-netx: convert boot_params to atag_offset
...
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org >
Acked-by: Arnd Bergmann <arnd@arndb.de >
2011-08-21 17:15:01 -04:00
Linus Walleij
5de5a4dd87
ARM: 6827/1: mach-netx: delete hardcoded periphid
...
The periphid of the AMBA CLCD controller is hardcoded to a value
that the CLCD driver does not even support.
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-05-26 10:33:34 +01:00
Russell King
234b6ceddb
clocksource: convert ARM 32-bit up counting clocksources
...
Convert ixp4xx, lpc32xx, mxc, netx, pxa, sa1100, tcc8k, tegra and u300
to use the generic mmio clocksource recently introduced.
Cc: Imre Kaloz <kaloz@openwrt.org >
Cc: Krzysztof Halasa <khc@pm.waw.pl >
Acked-by: Eric Miao <eric.y.miao@gmail.com >
Acked-by: "Hans J. Koch" <hjk@hansjkoch.de >
Acked-by: Colin Cross <ccross@android.com >
Cc: Erik Gilling <konkers@android.com >
Cc: Olof Johansson <olof@lixom.net >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Sascha Hauer <s.hauer@pengutronix.de >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-05-23 18:04:51 +01:00
Thomas Gleixner
f38c02f3b3
arm: Fold irq_set_chip/irq_set_handler
...
Use irq_set_chip_and_handler() instead. Converted with coccinelle.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2011-03-29 14:47:58 +02:00