]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[ARM] 3816/1: iop3xx: rename config symbols
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 18 Sep 2006 22:02:25 +0000 (23:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:25:34 +0000 (10:25 +0100)
Rename CONFIG_ARCH_IOP321 to CONFIG_ARCH_IOP32X and
CONFIG_ARCH_IOP331 to CONFIG_ARCH_IOP33X.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 files changed:
arch/arm/boot/compressed/head.S
arch/arm/configs/ep80219_defconfig
arch/arm/configs/iq31244_defconfig
arch/arm/configs/iq80321_defconfig
arch/arm/configs/iq80331_defconfig
arch/arm/configs/iq80332_defconfig
arch/arm/mach-iop3xx/Kconfig
arch/arm/mach-iop3xx/Makefile
arch/arm/mach-iop3xx/Makefile.boot
arch/arm/mach-iop3xx/iop331-setup.c
arch/arm/oprofile/op_model_xscale.c
drivers/i2c/busses/i2c-iop3xx.c
include/asm-arm/arch-iop3xx/debug-macro.S
include/asm-arm/arch-iop3xx/entry-macro.S
include/asm-arm/arch-iop3xx/iop321.h
include/asm-arm/arch-iop3xx/iop331.h
include/asm-arm/arch-iop3xx/irqs.h
include/asm-arm/arch-iop3xx/memory.h
include/asm-arm/arch-iop3xx/system.h
include/asm-arm/arch-iop3xx/uncompress.h

index 14a9ff9c68df4bfcdbca3fe97dcea28f702588a0..d7ecc7ece82deb4f070bd2d2aecb595aa9176c81 100644 (file)
@@ -42,7 +42,7 @@
                add     \rb, \rb, #0x00010000   @ Ser1
 #endif
                .endm
-#elif defined(CONFIG_ARCH_IOP331)
+#elif defined(CONFIG_ARCH_IOP33X)
                .macro loadsp, rb
                 mov    \rb, #0xff000000
                 orr     \rb, \rb, #0x00ff0000
index 3c73b707c2f387c3bb4aba5e69e9d32f700c67cd..199f1567345d41e5b050ef763bbcee5df0b113c8 100644 (file)
@@ -93,8 +93,8 @@ CONFIG_ARCH_IQ31244=y
 # CONFIG_ARCH_IQ80331 is not set
 # CONFIG_MACH_IQ80332 is not set
 CONFIG_ARCH_EP80219=y
-CONFIG_ARCH_IOP321=y
-# CONFIG_ARCH_IOP331 is not set
+CONFIG_ARCH_IOP32X=y
+# CONFIG_ARCH_IOP33X is not set
 
 #
 # IOP3xx Chipset Features
index 32467160a6df96040d5605bafc170d38b0889930..27f884417b9080ef01cd452d275d9dd835560b20 100644 (file)
@@ -94,8 +94,8 @@ CONFIG_ARCH_IQ31244=y
 # CONFIG_ARCH_IQ80331 is not set
 # CONFIG_MACH_IQ80332 is not set
 # CONFIG_ARCH_EP80219 is not set
-CONFIG_ARCH_IOP321=y
-# CONFIG_ARCH_IOP331 is not set
+CONFIG_ARCH_IOP32X=y
+# CONFIG_ARCH_IOP33X is not set
 
 #
 # IOP3xx Chipset Features
index b000da753c41bb60aaeffac9848f95d6e5b832a1..33f21a24cf4e9ec5a5ff49d90b49485fd81ae8c4 100644 (file)
@@ -93,8 +93,8 @@ CONFIG_ARCH_IQ80321=y
 # CONFIG_ARCH_IQ80331 is not set
 # CONFIG_MACH_IQ80332 is not set
 # CONFIG_ARCH_EP80219 is not set
-CONFIG_ARCH_IOP321=y
-# CONFIG_ARCH_IOP331 is not set
+CONFIG_ARCH_IOP32X=y
+# CONFIG_ARCH_IOP33X is not set
 
 #
 # IOP3xx Chipset Features
index 46c79e1efe070644ed116f6b10eeb9a5cfbfa4ea..67a8bd7dba29fd7a3728030d38fd6aa832438ae7 100644 (file)
@@ -93,7 +93,7 @@ CONFIG_ARCH_IOP3XX=y
 CONFIG_ARCH_IQ80331=y
 # CONFIG_MACH_IQ80332 is not set
 # CONFIG_ARCH_EP80219 is not set
-CONFIG_ARCH_IOP331=y
+CONFIG_ARCH_IOP33X=y
 
 #
 # IOP3xx Chipset Features
index 11959b705d822298380e2b2249cb1d0d1497d51f..c8dea45cb01704f5c59af35a77d5b552b1375d57 100644 (file)
@@ -93,7 +93,7 @@ CONFIG_ARCH_IOP3XX=y
 # CONFIG_ARCH_IQ80331 is not set
 CONFIG_MACH_IQ80332=y
 # CONFIG_ARCH_EP80219 is not set
-CONFIG_ARCH_IOP331=y
+CONFIG_ARCH_IOP33X=y
 
 #
 # IOP3xx Chipset Features
index 4422f2388607dc102249a53d610c4b2320516152..887c3753727fb5c2a3a623175854e11636450b0f 100644 (file)
@@ -6,48 +6,48 @@ comment "IOP3xx Platform Types"
 
 config ARCH_IQ80321
        bool "Enable support for IQ80321"
-       select ARCH_IOP321
+       select ARCH_IOP32X
        help
          Say Y here if you want to run your kernel on the Intel IQ80321
          evaluation kit for the IOP321 chipset.
 
 config ARCH_IQ31244
        bool "Enable support for IQ31244"
-       select ARCH_IOP321
+       select ARCH_IOP32X
        help
          Say Y here if you want to run your kernel on the Intel IQ31244
          evaluation kit for the IOP321 chipset.
 
 config ARCH_IQ80331
        bool "Enable support for IQ80331"
-       select ARCH_IOP331
+       select ARCH_IOP33X
        help
          Say Y here if you want to run your kernel on the Intel IQ80331
          evaluation kit for the IOP331 chipset.
 
 config MACH_IQ80332
        bool "Enable support for IQ80332"
-       select ARCH_IOP331
+       select ARCH_IOP33X
        help
          Say Y here if you want to run your kernel on the Intel IQ80332
          evaluation kit for the IOP332 chipset.
 
 config ARCH_EP80219
        bool "Enable support for EP80219"
-       select ARCH_IOP321
+       select ARCH_IOP32X
        select ARCH_IQ31244
        help
          Say Y here if you want to run your kernel on the Intel EP80219
          evaluation kit for the Intel 80219 chipset (a IOP321 variant).
 
 # Which IOP variant are we running?
-config ARCH_IOP321
+config ARCH_IOP32X
        bool
        help
          The IQ80321 uses the IOP321 variant.
          The IQ31244 and EP80219 uses the IOP321 variant.
 
-config ARCH_IOP331
+config ARCH_IOP33X
        bool
        default ARCH_IQ80331
        help
@@ -57,7 +57,7 @@ comment "IOP3xx Chipset Features"
 
 config IOP331_STEPD
        bool "Chip stepping D of the IOP80331 processor or IOP80333"
-       depends on (ARCH_IOP331)
+       depends on ARCH_IOP33X
        help
          Say Y here if you have StepD of the IOP80331 or IOP8033
          based platforms.
index b17eb1f461023c5cdcc9c0b4fcbadbd64c521993..ad305152448015bb5e8eb3599a34f0a6d6c680b8 100644 (file)
@@ -10,9 +10,9 @@ obj-m                 :=
 obj-n                  :=
 obj-                   :=
 
-obj-$(CONFIG_ARCH_IOP321)  += iop321-setup.o iop321-irq.o iop321-pci.o iop321-time.o
+obj-$(CONFIG_ARCH_IOP32X)  += iop321-setup.o iop321-irq.o iop321-pci.o iop321-time.o
 
-obj-$(CONFIG_ARCH_IOP331)  += iop331-setup.o iop331-irq.o iop331-pci.o iop331-time.o
+obj-$(CONFIG_ARCH_IOP33X)  += iop331-setup.o iop331-irq.o iop331-pci.o iop331-time.o
 
 obj-$(CONFIG_ARCH_IQ80321) += iq80321-mm.o iq80321-pci.o
 
index 6387aa20461b76aa9135457b9cd5d5e8f4f0cfc6..e120c233b706b706c64910796fafafdc16ebd9a2 100644 (file)
@@ -1,7 +1,7 @@
    zreladdr-y  := 0xa0008000
 params_phys-y  := 0xa0000100
 initrd_phys-y  := 0xa0800000
-ifeq ($(CONFIG_ARCH_IOP331),y)
+ifeq ($(CONFIG_ARCH_IOP33X),y)
    zreladdr-y  := 0x00008000
 params_phys-y  := 0x00000100
 initrd_phys-y  := 0x00800000
index 3cc98d892ad48ca349a03504bfaa9b2eda130695..b2f24931d143424ad6ff786749dc7778492af0e5 100644 (file)
@@ -177,7 +177,7 @@ void __init iop331_map_io(void)
        iotable_init(iop331_std_desc, ARRAY_SIZE(iop331_std_desc));
 }
 
-#ifdef CONFIG_ARCH_IOP331
+#ifdef CONFIG_ARCH_IOP33X
 extern void iop331_init_irq(void);
 extern struct sys_timer iop331_timer;
 #endif
index 34fdc733743b9ec3a5c626c18541f24a4a46be87..7e0cc5b15b159626ee9421fe0f1b5dae262e32af 100644 (file)
 #ifdef CONFIG_ARCH_IOP310
 #define XSCALE_PMU_IRQ  IRQ_XS80200_PMU
 #endif
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
 #define XSCALE_PMU_IRQ  IRQ_IOP321_CORE_PMU
 #endif
-#ifdef CONFIG_ARCH_IOP331
+#ifdef CONFIG_ARCH_IOP33X
 #define XSCALE_PMU_IRQ  IRQ_IOP331_CORE_PMU
 #endif
 #ifdef CONFIG_ARCH_PXA
index 48c56939c8619abaae4e6289fb86cd2856d03921..035417f5a003dc6efaf13ed74db23ad1291090d9 100644 (file)
@@ -82,9 +82,9 @@ iop3xx_i2c_enable(struct i2c_algo_iop3xx_data *iop3xx_adap)
 
        /* 
         * Every time unit enable is asserted, GPOD needs to be cleared
-        * on IOP321 to avoid data corruption on the bus.
+        * on IOP32X to avoid data corruption on the bus.
         */
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
 #define IOP321_GPOD_I2C0    0x00c0  /* clear these bits to enable ch0 */
 #define IOP321_GPOD_I2C1    0x0030  /* clear these bits to enable ch1 */
 
index ce007e531994c79e9e605114e7b7283a9d304cb8..dcc6856d14ff02d690b451743451a64334e05480 100644 (file)
@@ -15,7 +15,7 @@
                mov     \rx, #0xfe000000        @ physical
 #if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)
                orr     \rx, \rx, #0x00800000   @ location of the UART
-#elif defined(CONFIG_ARCH_IOP331)
+#elif defined(CONFIG_ARCH_IOP33X)
                mrc     p15, 0, \rx, c1, c0
                tst     \rx, #1                 @ MMU enabled?
                moveq   \rx, #0x000fe000        @ Physical Base
index 926668c098a5aff5fd46af6029d04d3fe56ac465..f3db54637ad37e5f72a6577dc97e92f6a3afb493 100644 (file)
@@ -9,7 +9,7 @@
  */
 #include <asm/arch/irqs.h>
 
-#if defined(CONFIG_ARCH_IOP321)
+#if defined(CONFIG_ARCH_IOP32X)
                .macro  disable_fiq
                .endm
 
@@ -28,7 +28,7 @@
 1001:
                .endm
 
-#elif defined(CONFIG_ARCH_IOP331)
+#elif defined(CONFIG_ARCH_IOP33X)
                .macro  disable_fiq
                .endm
 
index f8df778a356fc90574b51fee7bf837b0b114e09f..d198d72a50a4637e334dc370dc5fe943186b5f65 100644 (file)
@@ -21,7 +21,7 @@
  * IOP3xx variants but behave slightly differently on each.
  */
 #ifndef __ASSEMBLY__
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
 #define iop_is_321() (((processor_id & 0xfffff5e0) == 0x69052420))
 #else
 #define        iop_is_321()    0
index fbf0cc11bdd91ee126d2e2c0e72c0a846f8f2f18..4d7bcc62cb3e65988b48b847a5874751d618728c 100644 (file)
@@ -20,7 +20,7 @@
  * IOP3xx variants but behave slightly differently on each.
  */
 #ifndef __ASSEMBLY__
-#ifdef CONFIG_ARCH_IOP331
+#ifdef CONFIG_ARCH_IOP33X
 /*#define      iop_is_331()    ((processor_id & 0xffffffb0) == 0x69054090) */
 #define        iop_is_331()    ((processor_id & 0xffffff30) == 0x69054010)
 #else
 #define IOP331_TU_TISR    (volatile u32 *)IOP331_REG_ADDR(0x000007E8)
 #define IOP331_TU_WDTCR   (volatile u32 *)IOP331_REG_ADDR(0x000007EC)
 
-#if defined(CONFIG_ARCH_IOP331)
+#if defined(CONFIG_ARCH_IOP33X)
 #define        IOP331_TICK_RATE        266000000       /* 266 MHz IB clock */
 #endif
 
index b2c03f4c269cf2216f1aef5e7fb23a58682db38b..4f7c7aa87b4a9496cf0b56194d4eda0ff83730bb 100644 (file)
 /*
  * Chipset-specific bits
  */
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
 #include "iop321-irqs.h"
 #endif
 
-#ifdef CONFIG_ARCH_IOP331
+#ifdef CONFIG_ARCH_IOP33X
 #include "iop331-irqs.h"
 #endif
index e43ebd9847459b18915b5d59c99203161df7f411..25666184e8fcb6de1b8379260da3a652632117b2 100644 (file)
@@ -10,7 +10,7 @@
 /*
  * Physical DRAM offset.
  */
-#ifndef CONFIG_ARCH_IOP331
+#ifndef CONFIG_ARCH_IOP33X
 #define PHYS_OFFSET    UL(0xa0000000)
 #else
 #define PHYS_OFFSET    UL(0x00000000)
  * bus_to_virt: Used to convert an address for DMA operations
  *             to an address that the kernel can use.
  */
-#if defined(CONFIG_ARCH_IOP321)
+#if defined(CONFIG_ARCH_IOP32X)
 
 #define __virt_to_bus(x)       (((__virt_to_phys(x)) & ~(*IOP321_IATVR2)) | ((*IOP321_IABAR2) & 0xfffffff0))
 #define __bus_to_virt(x)    (__phys_to_virt(((x) & ~(*IOP321_IALR2)) | ( *IOP321_IATVR2)))
 
-#elif defined(CONFIG_ARCH_IOP331)
+#elif defined(CONFIG_ARCH_IOP33X)
 
 #define __virt_to_bus(x)       (((__virt_to_phys(x)) & ~(*IOP331_IATVR2)) | ((*IOP331_IABAR2) & 0xfffffff0))
 #define __bus_to_virt(x)    (__phys_to_virt(((x) & ~(*IOP331_IALR2)) | ( *IOP331_IATVR2)))
index af6ae8cd36c98ffa1edc7a92f04cef0c6c4483f0..a16cbb77a7f670841c6a5a657c3473672d099ed3 100644 (file)
@@ -16,11 +16,11 @@ static inline void arch_idle(void)
 
 static inline void arch_reset(char mode)
 {
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
     *IOP321_PCSR = 0x30;
 #endif
 
-#ifdef CONFIG_ARCH_IOP331
+#ifdef CONFIG_ARCH_IOP33X
     *IOP331_PCSR = 0x30;
 #endif
 
index fbdd5af644fe67130fd51c543e3c8056d784f2d3..066c16bc12505918272af96039f5b847e8352589 100644 (file)
@@ -6,9 +6,9 @@
 #include <linux/serial_reg.h>
 #include <asm/hardware.h>
 
-#ifdef CONFIG_ARCH_IOP321
+#ifdef CONFIG_ARCH_IOP32X
 #define UTYPE unsigned char *
-#elif defined(CONFIG_ARCH_IOP331)
+#elif defined(CONFIG_ARCH_IOP33X)
 #define UTYPE u32 *
 #else
 #error "Missing IOP3xx arch type def"