Skip to content

Commit

Permalink
ARM: sirf: enable multiplatform support
Browse files Browse the repository at this point in the history
All the prerequisites are there now, so we can move sirf into multiplatform.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Mar 25, 2013
1 parent 275786b commit cf82e0e
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 173 deletions.
17 changes: 0 additions & 17 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ config ARM
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_SYSCALL_TRACEPOINTS
select HAVE_UID16
select HAVE_VIRT_TO_BUS
select KTIME_SCALAR
select PERF_USE_VMALLOC
select RTC_LIB
Expand Down Expand Up @@ -415,22 +414,6 @@ config ARCH_GEMINI
help
Support for the Cortina Systems Gemini family SoCs

config ARCH_SIRF
bool "CSR SiRF"
select ARCH_REQUIRE_GPIOLIB
select AUTO_ZRELADDR
select COMMON_CLK
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP
select MIGHT_HAVE_CACHE_L2X0
select NO_IOPORT
select PINCTRL
select PINCTRL_SIRF
select USE_OF
select SPARSE_IRQ
help
Support for CSR SiRFprimaII/Marco/Polo platforms

config ARCH_EBSA110
bool "EBSA-110"
select ARCH_USES_GETTIMEOFFSET
Expand Down
12 changes: 12 additions & 0 deletions arch/arm/mach-prima2/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
config ARCH_SIRF
bool "CSR SiRF" if ARCH_MULTI_V7
select ARCH_REQUIRE_GPIOLIB
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_CHIP
select MIGHT_HAVE_CACHE_L2X0
select NO_IOPORT
select PINCTRL
select PINCTRL_SIRF
help
Support for CSR SiRFprimaII/Marco/Polo platforms

if ARCH_SIRF

menu "CSR SiRF atlas6/primaII/Marco/Polo Specific Features"
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-prima2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ obj-$(CONFIG_CACHE_L2X0) += l2x0.o
obj-$(CONFIG_SUSPEND) += pm.o sleep.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o

CFLAGS_hotplug.o += -march=armv7-a
3 changes: 3 additions & 0 deletions arch/arm/mach-prima2/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#include <asm/mach/time.h>
#include <asm/exception.h>

#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))

extern struct smp_operations sirfsoc_smp_ops;
extern void sirfsoc_secondary_startup(void);
extern void sirfsoc_cpu_die(unsigned int cpu);
Expand Down
15 changes: 0 additions & 15 deletions arch/arm/mach-prima2/include/mach/clkdev.h

This file was deleted.

22 changes: 0 additions & 22 deletions arch/arm/mach-prima2/include/mach/entry-macro.S

This file was deleted.

15 changes: 0 additions & 15 deletions arch/arm/mach-prima2/include/mach/hardware.h

This file was deleted.

18 changes: 0 additions & 18 deletions arch/arm/mach-prima2/include/mach/map.h

This file was deleted.

14 changes: 0 additions & 14 deletions arch/arm/mach-prima2/include/mach/timex.h

This file was deleted.

29 changes: 0 additions & 29 deletions arch/arm/mach-prima2/include/mach/uart.h

This file was deleted.

41 changes: 0 additions & 41 deletions arch/arm/mach-prima2/include/mach/uncompress.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-prima2/lluart.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <linux/kernel.h>
#include <asm/page.h>
#include <asm/mach/map.h>
#include <mach/map.h>
#include "common.h"

#if defined(CONFIG_DEBUG_SIRFPRIMA2_UART1)
#define SIRFSOC_UART1_PA_BASE 0xb0060000
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-prima2/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <asm/smp_scu.h>
#include <asm/cacheflush.h>
#include <asm/cputype.h>
#include <mach/map.h>

#include "common.h"

Expand Down

0 comments on commit cf82e0e

Please sign in to comment.