Commit 22f50b5a authored by Eli Carter's avatar Eli Carter Committed by Russell King

[ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX

Patch from Eli Carter

# Tue Apr 15 14:41:15 CDT 2003 ejc@rnd-linux-c84
# config-rename
#
# This patch renames the IOP310 config variables to IOP3XX in preparation for
# IOP321 support.
#
# Diff'ed against 2.5.65-rmk1+1472-4
# Applies to 2.5.67-rmk1 with an offset.
#
#  arch/arm/Kconfig                     |   14 +++++-----
#  arch/arm/Makefile                    |    2 -
#  arch/arm/def-configs/iq80310         |   15 +++++-----
#  arch/arm/kernel/debug.S              |    2 -
#  arch/arm/mach-iop3xx/Kconfig         |   49 ++++++++++++++++++++++-------------
#  arch/arm/mach-iop3xx/Makefile        |    8 ++---
#  include/asm-arm/arch-iop3xx/memory.h |    2 -
#  include/asm-arm/arch-iop3xx/timex.h  |    2 -
#  8 files changed, 54 insertions(+), 40 deletions(-)
#
parent adabea61
...@@ -138,8 +138,8 @@ config ARCH_FOOTBRIDGE ...@@ -138,8 +138,8 @@ config ARCH_FOOTBRIDGE
config ARCH_INTEGRATOR config ARCH_INTEGRATOR
bool "Integrator" bool "Integrator"
config ARCH_IOP310 config ARCH_IOP3XX
bool "IOP310-based" bool "IOP3xx-based"
config ARCH_L7200 config ARCH_L7200
bool "LinkUp-L7200" bool "LinkUp-L7200"
...@@ -342,7 +342,7 @@ config CPU_SA1100 ...@@ -342,7 +342,7 @@ config CPU_SA1100
# XScale # XScale
config CPU_XSCALE config CPU_XSCALE
bool bool
depends on ARCH_IOP310 || ARCH_ADIFCC || ARCH_PXA depends on ARCH_IOP3XX || ARCH_ADIFCC || ARCH_PXA
default y default y
# Figure out what processor architecture version we should be using. # Figure out what processor architecture version we should be using.
...@@ -359,7 +359,7 @@ config CPU_32v4 ...@@ -359,7 +359,7 @@ config CPU_32v4
config CPU_32v5 config CPU_32v5
bool bool
depends on ARCH_IOP310 || ARCH_ADIFCC || ARCH_PXA depends on ARCH_IOP3XX || ARCH_ADIFCC || ARCH_PXA
default y default y
comment "Processor Features" comment "Processor Features"
...@@ -436,8 +436,8 @@ config DISCONTIGMEM ...@@ -436,8 +436,8 @@ config DISCONTIGMEM
# Now handle the bus types # Now handle the bus types
config PCI config PCI
bool bool
default PCI_INTEGRATOR if !ARCH_FTVPCI && !ARCH_SHARK && !FOOTBRIDGE_HOST && !ARCH_IOP310 && ARCH_INTEGRATOR default PCI_INTEGRATOR if !ARCH_FTVPCI && !ARCH_SHARK && !FOOTBRIDGE_HOST && !ARCH_IOP3XX && ARCH_INTEGRATOR
default y if ARCH_FTVPCI || ARCH_SHARK || FOOTBRIDGE_HOST || ARCH_IOP310 default y if ARCH_FTVPCI || ARCH_SHARK || FOOTBRIDGE_HOST || ARCH_IOP3XX
help help
Find out whether you have a PCI motherboard. PCI is the name of a Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside bus system, i.e. the way the CPU talks to the other stuff inside
...@@ -451,7 +451,7 @@ config PCI ...@@ -451,7 +451,7 @@ config PCI
config PCI_INTEGRATOR config PCI_INTEGRATOR
bool "PCI support" bool "PCI support"
depends on !ARCH_FTVPCI && !ARCH_SHARK && !FOOTBRIDGE_HOST && !ARCH_IOP310 && ARCH_INTEGRATOR depends on !ARCH_FTVPCI && !ARCH_SHARK && !FOOTBRIDGE_HOST && !ARCH_IOP3XX && ARCH_INTEGRATOR
help help
Find out whether you have a PCI motherboard. PCI is the name of a Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside bus system, i.e. the way the CPU talks to the other stuff inside
......
...@@ -105,7 +105,7 @@ textaddr-$(CONFIG_ARCH_CLPS711X) := 0xc0028000 ...@@ -105,7 +105,7 @@ textaddr-$(CONFIG_ARCH_CLPS711X) := 0xc0028000
machine-$(CONFIG_ARCH_CLPS711X) := clps711x machine-$(CONFIG_ARCH_CLPS711X) := clps711x
textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000 textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000
machine-$(CONFIG_ARCH_ANAKIN) := anakin machine-$(CONFIG_ARCH_ANAKIN) := anakin
machine-$(CONFIG_ARCH_IOP310) := iop3xx machine-$(CONFIG_ARCH_IOP3XX) := iop3xx
machine-$(CONFIG_ARCH_ADIFCC) := adifcc machine-$(CONFIG_ARCH_ADIFCC) := adifcc
MACHINE := $(machine-y) MACHINE := $(machine-y)
......
...@@ -43,7 +43,7 @@ CONFIG_KMOD=y ...@@ -43,7 +43,7 @@ CONFIG_KMOD=y
# CONFIG_ARCH_CAMELOT is not set # CONFIG_ARCH_CAMELOT is not set
# CONFIG_ARCH_FOOTBRIDGE is not set # CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_INTEGRATOR is not set # CONFIG_ARCH_INTEGRATOR is not set
CONFIG_ARCH_IOP310=y CONFIG_ARCH_IOP3XX=y
# CONFIG_ARCH_L7200 is not set # CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_RPC is not set # CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set # CONFIG_ARCH_SA1100 is not set
...@@ -70,17 +70,18 @@ CONFIG_ARCH_IOP310=y ...@@ -70,17 +70,18 @@ CONFIG_ARCH_IOP310=y
# #
# #
# IOP310 Implementation Options # IOP3xx Implementation Options
# #
CONFIG_ARCH_IQ80310=y CONFIG_ARCH_IQ80310=y
CONFIG_ARCH_IOP310=y
# #
# IOP310 Chipset Features # IOP3xx Chipset Features
# #
# CONFIG_IOP310_AAU is not set # CONFIG_IOP3XX_AAU is not set
# CONFIG_IOP310_DMA is not set # CONFIG_IOP3XX_DMA is not set
# CONFIG_IOP310_MU is not set # CONFIG_IOP3XX_MU is not set
# CONFIG_IOP310_PMON is not set # CONFIG_IOP3XX_PMON is not set
# #
# Intel PXA250/210 Implementations # Intel PXA250/210 Implementations
......
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
bne 1001b bne 1001b
.endm .endm
#elif defined(CONFIG_ARCH_IQ80310) #elif defined(CONFIG_ARCH_IOP3XX)
.macro addruart,rx .macro addruart,rx
mov \rx, #0xfe000000 @ physical mov \rx, #0xfe000000 @ physical
......
menu "IOP310 Implementation Options" menu "IOP3xx Implementation Options"
choice
prompt "IOP3xx System Type"
default ARCH_IQ80310
config ARCH_IQ80310 config ARCH_IQ80310
bool "IQ80310" bool "IQ80310"
depends on ARCH_IOP310 depends on ARCH_IOP3XX
help help
Say Y here if you want to run your kernel on the Intel IQ80310 Say Y here if you want to run your kernel on the Intel IQ80310
evaluation kit for the IOP310 chipset. evaluation kit for the IOP310 chipset.
comment "IOP310 Chipset Features" endchoice
# Which IOP variant are we running?
config ARCH_IOP310
bool
default ARCH_IQ80310
help
The IQ80310 uses the IOP310 variant.
comment "IOP3xx Chipset Features"
config IOP310_AAU config IOP3XX_AAU
bool "Support Intel 80312 Application Accelerator Unit (EXPERIMENTAL)" bool "Support Intel IOP3xx Application Accelerator Unit (EXPERIMENTAL)"
depends on ARCH_IOP310 && EXPERIMENTAL depends on ARCH_IOP3XX && EXPERIMENTAL
config IOP310_DMA config IOP3XX_DMA
bool "Support Intel 80312 DMA (EXPERIMENTAL)" bool "Support Intel IOP3xx DMA (EXPERIMENTAL)"
depends on ARCH_IOP310 && EXPERIMENTAL depends on ARCH_IOP3XX && EXPERIMENTAL
config IOP310_MU config IOP3XX_MU
bool "Support Intel 80312 Messaging Unit (EXPERIMENTAL)" bool "Support Intel IOP3xx Messaging Unit (EXPERIMENTAL)"
depends on ARCH_IOP310 && EXPERIMENTAL depends on ARCH_IOP3XX && EXPERIMENTAL
config IOP310_PMON config IOP3XX_PMON
bool "Support Intel 80312 Performance Monitor (EXPERIMENTAL)" bool "Support Intel IOP3xx Performance Monitor (EXPERIMENTAL)"
depends on ARCH_IOP310 && EXPERIMENTAL depends on ARCH_IOP3XX && EXPERIMENTAL
endmenu endmenu
...@@ -16,7 +16,7 @@ ifneq ($(CONFIG_XSCALE_PMU_TIMER),y) ...@@ -16,7 +16,7 @@ ifneq ($(CONFIG_XSCALE_PMU_TIMER),y)
obj-y += iq80310-time.o obj-y += iq80310-time.o
endif endif
obj-$(CONFIG_IOP310_AAU) += aau.o obj-$(CONFIG_IOP3XX_AAU) += aau.o
obj-$(CONFIG_IOP310_DMA) += dma.o obj-$(CONFIG_IOP3XX_DMA) += dma.o
obj-$(CONFIG_IOP310_MU) += message.o obj-$(CONFIG_IOP3XX_MU) += message.o
obj-$(CONFIG_IOP310_PMON) += pmon.o obj-$(CONFIG_IOP3XX_PMON) += pmon.o
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP310_SIALR)) | ( *IOP310_SIATVR))) #define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP310_SIALR)) | ( *IOP310_SIATVR)))
/* boot mem allocate global pointer for MU circular queues QBAR */ /* boot mem allocate global pointer for MU circular queues QBAR */
#ifdef CONFIG_IOP310_MU #ifdef CONFIG_IOP3XX_MU
extern void *mu_mem; extern void *mu_mem;
#endif #endif
......
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
#else #else
#error "No IOP310 timex information for this architecture" #error "No IOP3xx timex information for this architecture"
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment