diff options
| author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-10-15 13:55:44 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-15 13:56:02 -0400 |
| commit | 0181b61a988424b5cc44fe09e6968142359c815e (patch) | |
| tree | 2575ee900a39ffaa169ad5aeb8aa6ddee11cfbe5 | |
| parent | 92633b72d18ca4f25de1f28e436a882159491e7e (diff) | |
| parent | 87944f3361fc033b73617aa663135c6e468957a7 (diff) | |
Merge branch 'pxa' into devel
66 files changed, 7135 insertions, 519 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index fcd1d8f95a21..0a0c88d0039c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -339,14 +339,14 @@ config ARCH_PNX4008 | |||
| 339 | This enables support for Philips PNX4008 mobile platform. | 339 | This enables support for Philips PNX4008 mobile platform. |
| 340 | 340 | ||
| 341 | config ARCH_PXA | 341 | config ARCH_PXA |
| 342 | bool "PXA2xx-based" | 342 | bool "PXA2xx/PXA3xx-based" |
| 343 | depends on MMU | 343 | depends on MMU |
| 344 | select ARCH_MTD_XIP | 344 | select ARCH_MTD_XIP |
| 345 | select GENERIC_GPIO | 345 | select GENERIC_GPIO |
| 346 | select GENERIC_TIME | 346 | select GENERIC_TIME |
| 347 | select GENERIC_CLOCKEVENTS | 347 | select GENERIC_CLOCKEVENTS |
| 348 | help | 348 | help |
| 349 | Support for Intel's PXA2XX processor line. | 349 | Support for Intel/Marvell's PXA2xx/PXA3xx processor line. |
| 350 | 350 | ||
| 351 | config ARCH_RPC | 351 | config ARCH_RPC |
| 352 | bool "RiscPC" | 352 | bool "RiscPC" |
| @@ -489,7 +489,7 @@ source arch/arm/mm/Kconfig | |||
| 489 | config IWMMXT | 489 | config IWMMXT |
| 490 | bool "Enable iWMMXt support" | 490 | bool "Enable iWMMXt support" |
| 491 | depends on CPU_XSCALE || CPU_XSC3 | 491 | depends on CPU_XSCALE || CPU_XSC3 |
| 492 | default y if PXA27x | 492 | default y if PXA27x || PXA3xx |
| 493 | help | 493 | help |
| 494 | Enable support for iWMMXt context switching at run time if | 494 | Enable support for iWMMXt context switching at run time if |
| 495 | running on a CPU that supports it. | 495 | running on a CPU that supports it. |
diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S index 236bbe578312..67ea99ef6521 100644 --- a/arch/arm/boot/compressed/head-xscale.S +++ b/arch/arm/boot/compressed/head-xscale.S | |||
| @@ -33,10 +33,6 @@ __XScale_start: | |||
| 33 | bic r0, r0, #0x1000 @ clear Icache | 33 | bic r0, r0, #0x1000 @ clear Icache |
| 34 | mcr p15, 0, r0, c1, c0, 0 | 34 | mcr p15, 0, r0, c1, c0, 0 |
| 35 | 35 | ||
| 36 | #ifdef CONFIG_ARCH_LUBBOCK | ||
| 37 | mov r7, #MACH_TYPE_LUBBOCK | ||
| 38 | #endif | ||
| 39 | |||
| 40 | #ifdef CONFIG_ARCH_COTULLA_IDP | 36 | #ifdef CONFIG_ARCH_COTULLA_IDP |
| 41 | mov r7, #MACH_TYPE_COTULLA_IDP | 37 | mov r7, #MACH_TYPE_COTULLA_IDP |
| 42 | #endif | 38 | #endif |
diff --git a/arch/arm/common/Makefile b/arch/arm/common/Makefile index e1289a256ce5..3d0b9fa42f84 100644 --- a/arch/arm/common/Makefile +++ b/arch/arm/common/Makefile | |||
| @@ -17,3 +17,4 @@ obj-$(CONFIG_SHARPSL_PM) += sharpsl_pm.o | |||
| 17 | obj-$(CONFIG_SHARP_SCOOP) += scoop.o | 17 | obj-$(CONFIG_SHARP_SCOOP) += scoop.o |
| 18 | obj-$(CONFIG_ARCH_IXP2000) += uengine.o | 18 | obj-$(CONFIG_ARCH_IXP2000) += uengine.o |
| 19 | obj-$(CONFIG_ARCH_IXP23XX) += uengine.o | 19 | obj-$(CONFIG_ARCH_IXP23XX) += uengine.o |
| 20 | obj-$(CONFIG_PCI_HOST_ITE8152) += it8152.o | ||
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c new file mode 100644 index 000000000000..c03de9bfd76b --- /dev/null +++ b/arch/arm/common/it8152.c | |||
| @@ -0,0 +1,387 @@ | |||
| 1 | /* | ||
| 2 | * linux/arch/arm/common/it8152.c | ||
| 3 | * | ||
| 4 | * Copyright Compulab Ltd, 2002-2007 | ||
| 5 | * Mike Rapoport <mike@compulab.co.il> | ||
| 6 | * | ||
| 7 | * The DMA bouncing part is taken from arch/arm/mach-ixp4xx/common-pci.c | ||
| 8 | * (see this file for respective copyrights) | ||
| 9 | * | ||
| 10 | * Thanks to Guennadi Liakhovetski <gl@dsa-ac.de> for IRQ enumberation | ||
| 11 | * and demux code. | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include <linux/sched.h> | ||
| 19 | #include <linux/kernel.h> | ||
| 20 | #include <linux/pci.h> | ||
| 21 | #include <linux/ptrace.h> | ||
| 22 | #include <linux/interrupt.h> | ||
| 23 | #include <linux/mm.h> | ||
| 24 | #include <linux/slab.h> | ||
| 25 | #include <linux/init.h> | ||
| 26 | #include <linux/ioport.h> | ||
| 27 | #include <linux/irq.h> | ||
| 28 | #include <linux/io.h> | ||
| 29 | |||
| 30 | #include <asm/mach/pci.h> | ||
| 31 | #include <asm/hardware/it8152.h> | ||
| 32 | |||
