Loading arch/arm/Kconfig +3 −3 Original line number Diff line number Diff line Loading @@ -336,14 +336,14 @@ config ARCH_PNX4008 This enables support for Philips PNX4008 mobile platform. config ARCH_PXA bool "PXA2xx-based" bool "PXA2xx/PXA3xx-based" depends on MMU select ARCH_MTD_XIP select GENERIC_GPIO select GENERIC_TIME select GENERIC_CLOCKEVENTS help Support for Intel's PXA2XX processor line. Support for Intel/Marvell's PXA2xx/PXA3xx processor line. config ARCH_RPC bool "RiscPC" Loading Loading @@ -486,7 +486,7 @@ source arch/arm/mm/Kconfig config IWMMXT bool "Enable iWMMXt support" depends on CPU_XSCALE || CPU_XSC3 default y if PXA27x default y if PXA27x || PXA3xx help Enable support for iWMMXt context switching at run time if running on a CPU that supports it. Loading arch/arm/mach-pxa/Kconfig +28 −1 Original line number Diff line number Diff line if ARCH_PXA menu "Intel PXA2xx Implementations" menu "Intel PXA2xx/PXA3xx Implementations" if PXA3xx menu "Supported PXA3xx Processor Variants" config CPU_PXA300 bool "PXA300 (codename Monahans-L)" config CPU_PXA310 bool "PXA310 (codename Monahans-LV)" select CPU_PXA300 config CPU_PXA320 bool "PXA320 (codename Monahans-P)" endmenu endif choice prompt "Select target board" Loading Loading @@ -41,6 +59,10 @@ config MACH_EM_X270 bool "CompuLab EM-x270 platform" select PXA27x config MACH_ZYLONITE bool "PXA3xx Development Platform" select PXA3xx endchoice if PXA_SHARPSL Loading Loading @@ -130,6 +152,11 @@ config PXA27x help Select code specific to PXA27x variants config PXA3xx bool help Select code specific to PXA3xx variants config PXA_SHARP_C7xx bool select PXA_SSP Loading arch/arm/mach-pxa/Makefile +9 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,9 @@ obj-y += clock.o generic.o irq.o dma.o time.o obj-$(CONFIG_PXA25x) += pxa25x.o obj-$(CONFIG_PXA27x) += pxa27x.o obj-$(CONFIG_PXA3xx) += pxa3xx.o mfp.o obj-$(CONFIG_CPU_PXA300) += pxa300.o obj-$(CONFIG_CPU_PXA320) += pxa320.o # Specific board support obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o Loading @@ -20,6 +23,12 @@ obj-$(CONFIG_MACH_POODLE) += poodle.o corgi_ssp.o obj-$(CONFIG_MACH_TOSA) += tosa.o obj-$(CONFIG_MACH_EM_X270) += em-x270.o ifeq ($(CONFIG_MACH_ZYLONITE),y) obj-y += zylonite.o obj-$(CONFIG_CPU_PXA300) += zylonite_pxa300.o obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o endif # Support for blinky lights led-y := leds.o led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o Loading arch/arm/mach-pxa/generic.c +6 −2 Original line number Diff line number Diff line Loading @@ -51,8 +51,10 @@ unsigned int get_clk_frequency_khz(int info) { if (cpu_is_pxa21x() || cpu_is_pxa25x()) return pxa25x_get_clk_frequency_khz(info); else else if (cpu_is_pxa27x()) return pxa27x_get_clk_frequency_khz(info); else return pxa3xx_get_clk_frequency_khz(info); } EXPORT_SYMBOL(get_clk_frequency_khz); Loading @@ -63,8 +65,10 @@ unsigned int get_memclk_frequency_10khz(void) { if (cpu_is_pxa21x() || cpu_is_pxa25x()) return pxa25x_get_memclk_frequency_10khz(); else else if (cpu_is_pxa27x()) return pxa27x_get_memclk_frequency_10khz(); else return pxa3xx_get_memclk_frequency_10khz(); } EXPORT_SYMBOL(get_memclk_frequency_10khz); Loading arch/arm/mach-pxa/generic.h +8 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ extern void __init pxa_init_irq_gpio(int gpio_nr); extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int)); extern void __init pxa25x_init_irq(void); extern void __init pxa27x_init_irq(void); extern void __init pxa3xx_init_irq(void); extern void __init pxa_map_io(void); extern unsigned int get_clk_frequency_khz(int info); Loading @@ -44,3 +45,10 @@ extern unsigned pxa27x_get_memclk_frequency_10khz(void); #define pxa27x_get_memclk_frequency_10khz() (0) #endif #ifdef CONFIG_PXA3xx extern unsigned pxa3xx_get_clk_frequency_khz(int); extern unsigned pxa3xx_get_memclk_frequency_10khz(void); #else #define pxa3xx_get_clk_frequency_khz(x) (0) #define pxa3xx_get_memclk_frequency_10khz() (0) #endif Loading
arch/arm/Kconfig +3 −3 Original line number Diff line number Diff line Loading @@ -336,14 +336,14 @@ config ARCH_PNX4008 This enables support for Philips PNX4008 mobile platform. config ARCH_PXA bool "PXA2xx-based" bool "PXA2xx/PXA3xx-based" depends on MMU select ARCH_MTD_XIP select GENERIC_GPIO select GENERIC_TIME select GENERIC_CLOCKEVENTS help Support for Intel's PXA2XX processor line. Support for Intel/Marvell's PXA2xx/PXA3xx processor line. config ARCH_RPC bool "RiscPC" Loading Loading @@ -486,7 +486,7 @@ source arch/arm/mm/Kconfig config IWMMXT bool "Enable iWMMXt support" depends on CPU_XSCALE || CPU_XSC3 default y if PXA27x default y if PXA27x || PXA3xx help Enable support for iWMMXt context switching at run time if running on a CPU that supports it. Loading
arch/arm/mach-pxa/Kconfig +28 −1 Original line number Diff line number Diff line if ARCH_PXA menu "Intel PXA2xx Implementations" menu "Intel PXA2xx/PXA3xx Implementations" if PXA3xx menu "Supported PXA3xx Processor Variants" config CPU_PXA300 bool "PXA300 (codename Monahans-L)" config CPU_PXA310 bool "PXA310 (codename Monahans-LV)" select CPU_PXA300 config CPU_PXA320 bool "PXA320 (codename Monahans-P)" endmenu endif choice prompt "Select target board" Loading Loading @@ -41,6 +59,10 @@ config MACH_EM_X270 bool "CompuLab EM-x270 platform" select PXA27x config MACH_ZYLONITE bool "PXA3xx Development Platform" select PXA3xx endchoice if PXA_SHARPSL Loading Loading @@ -130,6 +152,11 @@ config PXA27x help Select code specific to PXA27x variants config PXA3xx bool help Select code specific to PXA3xx variants config PXA_SHARP_C7xx bool select PXA_SSP Loading
arch/arm/mach-pxa/Makefile +9 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,9 @@ obj-y += clock.o generic.o irq.o dma.o time.o obj-$(CONFIG_PXA25x) += pxa25x.o obj-$(CONFIG_PXA27x) += pxa27x.o obj-$(CONFIG_PXA3xx) += pxa3xx.o mfp.o obj-$(CONFIG_CPU_PXA300) += pxa300.o obj-$(CONFIG_CPU_PXA320) += pxa320.o # Specific board support obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o Loading @@ -20,6 +23,12 @@ obj-$(CONFIG_MACH_POODLE) += poodle.o corgi_ssp.o obj-$(CONFIG_MACH_TOSA) += tosa.o obj-$(CONFIG_MACH_EM_X270) += em-x270.o ifeq ($(CONFIG_MACH_ZYLONITE),y) obj-y += zylonite.o obj-$(CONFIG_CPU_PXA300) += zylonite_pxa300.o obj-$(CONFIG_CPU_PXA320) += zylonite_pxa320.o endif # Support for blinky lights led-y := leds.o led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o Loading
arch/arm/mach-pxa/generic.c +6 −2 Original line number Diff line number Diff line Loading @@ -51,8 +51,10 @@ unsigned int get_clk_frequency_khz(int info) { if (cpu_is_pxa21x() || cpu_is_pxa25x()) return pxa25x_get_clk_frequency_khz(info); else else if (cpu_is_pxa27x()) return pxa27x_get_clk_frequency_khz(info); else return pxa3xx_get_clk_frequency_khz(info); } EXPORT_SYMBOL(get_clk_frequency_khz); Loading @@ -63,8 +65,10 @@ unsigned int get_memclk_frequency_10khz(void) { if (cpu_is_pxa21x() || cpu_is_pxa25x()) return pxa25x_get_memclk_frequency_10khz(); else else if (cpu_is_pxa27x()) return pxa27x_get_memclk_frequency_10khz(); else return pxa3xx_get_memclk_frequency_10khz(); } EXPORT_SYMBOL(get_memclk_frequency_10khz); Loading
arch/arm/mach-pxa/generic.h +8 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ extern void __init pxa_init_irq_gpio(int gpio_nr); extern void __init pxa_init_irq_set_wake(int (*set_wake)(unsigned int, unsigned int)); extern void __init pxa25x_init_irq(void); extern void __init pxa27x_init_irq(void); extern void __init pxa3xx_init_irq(void); extern void __init pxa_map_io(void); extern unsigned int get_clk_frequency_khz(int info); Loading @@ -44,3 +45,10 @@ extern unsigned pxa27x_get_memclk_frequency_10khz(void); #define pxa27x_get_memclk_frequency_10khz() (0) #endif #ifdef CONFIG_PXA3xx extern unsigned pxa3xx_get_clk_frequency_khz(int); extern unsigned pxa3xx_get_memclk_frequency_10khz(void); #else #define pxa3xx_get_clk_frequency_khz(x) (0) #define pxa3xx_get_memclk_frequency_10khz() (0) #endif