summaryrefslogtreecommitdiffstats
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure()Andrew Victor2008-12-0111-59/+405
| | | | | | | | | | | | | | | | | | | | | | Convert the SAM9 and CAP9 board-specific files to make use of the sam9_smc_configure() method to configure the memory-controller for external peripherals. The following boards have been modified: cam60 : NAND cap9adk : NAND, NOR qil-a9260 : NAND sam9-l9260 : NAND sam9260ek : NAND sam9261ek : DM9000 Ethernet, NAND sam9263 : NAND sam9g20ek : NAND sam9rlek : NAND usb-a9260 : NAND usb-a9263 .: NAND Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 5288/1: [AT91] Remove SMC configuration from devices.c filesAndrew Victor2008-12-015-97/+5
| | | | | | | | | | | | | In at91_add_device_nand(), do not configure the Static Memory controller with specific timing values. The *_devices.c files are board independent, and the SMC timing values are specific to the NAND devices that are installed on the board. The board-specific files are now responsible for configuring the Static Memory controller (if the don't want to leave it up to a bootloader). Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 5287/2: [AT91] Configuration of Static Memory ControllerAndrew Victor2008-12-013-6/+86
| | | | | | | | | | | | | | | Add a structure 'sam9_smc_config' and function sam9_smc_configure() to allow the board-specific files to specify the configuration of the Static Memory Controller per chip-select. This allows the board file to specify timings for NAND flash, NOR flash or other external peripherals. This functionality can be used for all the SAM9 and CAP9 processors. (the AT91RM9200 has a different memory-controller) This patch is based on similar code in the AVR32 architecture. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] use asm/sections.hRussell King2008-12-018-27/+28
| | | | | | | | Update to use the asm/sections.h header rather than declaring these symbols ourselves. Change __data_start to _data to conform with the naming found within asm/sections.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* Merge branch 'clks' into develRussell King2008-11-309-267/+61
|\
| * [ARM] lh7a40x: convert to simple clk APIRussell King2008-11-301-61/+4
| | | | | | | | | | | | | | lh7a40x only uses the clk API for the framebuffer, so there's no point having a complicated implementation. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * [ARM] lh7a40x: clocks - cleanupRussell King2008-11-301-27/+0
| | | | | | | | | | | | Remove commented out code, and unnecessary declarations. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * [ARM] aaec2000: convert to simple clk APIRussell King2008-11-304-129/+24
| | | | | | | | | | | | | | aaec2000 only uses the clk API for the framebuffer, so there's no point having a complicated implementation. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * [ARM] netx: fix simple clk APIRussell King2008-11-301-5/+2
| | | | | | | | | | | | ... to only return the framebuffer clock for the framebuffer device. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * [ARM] ep93xx: convert to clkdev and match clocks by struct device where possibleRussell King2008-11-303-45/+31
| | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] Update mach-typesRussell King2008-11-301-3/+98
| | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] davinci: asm/memory.h is not required for mach/vmalloc.hRussell King2008-11-301-1/+0
| | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] Ensure that both MAX_DMA_ADDRESS and ISA_DMA_THRESHOLD are definedRussell King2008-11-304-3/+4
| | | | | | | | | | | | | | Both of these symbols should be defined by a platform, or neither should be defined. Ensure that all platforms conform. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] Add a common typesafe __io implementationRussell King2008-11-3023-65/+44
| | | | | | | | | | | | | | | | As Al did for Versatile in 2ad4f86b60b649fd7428265c08d73a3bd360c81b, add a typesafe __io implementation for platforms to use. Convert platforms to use this new simple typesafe implementation. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] integrator: parenthesize __virt_to_bus/__bus_to_virt argumentRussell King2008-11-301-2/+2
| | | | | | | | | | | | | | Macro arguments should be parenthesized to avoid unexpected side effects. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | [ARM] pnx4008: fix definition of PHYS_OFFSETRussell King2008-11-301-1/+1
| | | | | | | | | | | | PHYS_OFFSET constants should be defined using UL(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | Merge branch 's3c-moves2' of git://aeryn.fluff.org.uk/bjdooks/linux into develRussell King2008-11-2931-30/+747
|\ \
| * \ Merge branch 'master' of ↵Ben Dooks2008-11-0318-13/+79
| |\ \ | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c-moves2
| * | | [ARM] S3C24XX: Move mci.h to arch/arm/plat-s3c24xx/include/platBen Dooks2008-10-301-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move mci.h to new position in arch/arm/plat-s3c24xx/include/plat ready to clean out old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move plat/regs-spi.h to arch/arm/plat-s3c/include/plat.Ben Dooks2008-10-307-6/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move plat/regs-spi.h to arch/arm/plat-s3c/include/plat ready ready to clean out old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C24XX: Movev udc headers to arch/arm/plat-s3c24xx/include/platBen Dooks2008-10-308-6/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the udc headers to the proper home in arch/arm/plat-s3c24xx/include/plat ready to clean out the old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move regs-ac97.h to arch/arm/plat-s3c/include/plat.Ben Dooks2008-10-305-4/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move regs-ac97.h to arch/arm/plat-s3c/include/plat ready to clean out old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move nand headers to arch/arm/plat-s3c/include/platBen Dooks2008-10-3011-9/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move nand headers to arch/arm/plat-s3c/include/plat ready to clean out the old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move regs-rtc.h to arch/arm/plat-s3c/include/platBen Dooks2008-10-301-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move regs-rtc.h to arch/arm/plat-s3c/include/plat ready to clean out old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move i2c headers to arch/arm/plat-s3c/include/plat.Ben Dooks2008-10-305-3/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the i2c headers to arch/arm/plat-s3c/include/plat ready to clean out the old include directories. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | [ARM] S3C: Move regs-watchdog.h to arch/arm/plat-s3c/include/platBen Dooks2008-10-303-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move regs-watchdog.h to arch/arm/plat-s3c/include/plat ready to clean out the old include directories Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | | [ARM] give RiscPC a NR_IRQS definition and remove defaultRussell King2008-11-292-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RiscPC is the only platform using the default setting for NR_IRQS, so the default NR_IRQS doesn't really make sense; remove it and make RiscPC provide such a definition. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] Remove linux/sched.h from asm/cacheflush.h and asm/uaccess.hRussell King2008-11-295-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and fix those drivers that were incorrectly relying upon that include. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] Rename ISA mach/dma.h header to mach/isa-dma.hRussell King2008-11-295-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids confusion with platform specific DMA implementations in mach/dma.h Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] Hide ISA DMA API when ISA_DMA_API is unsetRussell King2008-11-2940-302/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ISA_DMA_API is unset, we're not implementing the ISA DMA API, so there's no point in publishing the prototypes via asm/dma.h, nor including the machine dependent parts of that API. This allows us to remove a lot of mach/dma.h files which don't contain any useful code. Unfortunately though, some platforms put their own private non-ISA definitions into mach/dma.h, so we leave these behind and fix the appropriate #include statments. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] fix constant values of MAX_DMA_ADDRESSRussell King2008-11-293-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 8d5796d2ec6b5a4e7a52861144e63af438d6f8f7, we have allowed PAGE_OFFSET to be configurable, so a constant virtual address for MAX_DMA_ADDRESS is buggy. It should be defined in terms of PAGE_OFFSET rather than a constant virtual address. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] move MAX_DMA_ADDRESS to mach/memory.hRussell King2008-11-2914-44/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the definition of MAX_DMA_ADDRESS from mach/dma.h to mach/memory.h, thereby placing it along side its relative, ISA_DMA_THRESHOLD. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] Remove unnecessary mach/hardware.h includes in arch/arm/mmRussell King2008-11-283-3/+0
| | | | | | | | | | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] asm/system.h does not require asm/memory.hRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] ns9xxx: mach/hardware.h doesn't need asm/memory.hRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] ixp4xx: clean up includesRussell King2008-11-282-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mach/io.h doesn't need linux/mm.h. mach/dma.h doesn't need linux/device.h, asm/page.h or mach/hardware.h Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] ixp23xx: mach/io.h doesn't need BUG() anymoreRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ixp23xx's mach/io.h claims to need linux/kernel.h for BUG(). However, this header doesn't make use of BUG(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] iop13xx: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/timex.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] iop3xx: avoid polluting the kernel's namespaceRussell King2008-11-287-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h, mach/memory.h and mach/timex.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] shark: avoid polluting the kernel's namespaceRussell King2008-11-283-25/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] shark: remove old unused "translated" IO macrosRussell King2008-11-281-17/+0
| | | | | | | | | | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] clps711x: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] footbridge: mach/hardware.h doesn't require mach/memory.hRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] footbridge: avoid polluting the kernel's namespaceRussell King2008-11-282-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] aaec2000: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] lh7a40x: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] l7200: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] h720x: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] imx: avoid polluting the kernel's namespaceRussell King2008-11-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h in mach/io.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | | | [ARM] pxa: avoid polluting the kernel's namespaceRussell King2008-11-284-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid unnecessarily pollution of the kernel's namespace by avoiding mach/hardware.h. Include this header file where necessary. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
OpenPOWER on IntegriCloud