aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-09-18 18:02:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-25 05:25:34 -0400
commit98954df6917cb8f7e65f4f0f79ed641112fcf6b6 (patch)
tree64c6d17b7f05b8b1d7322f9d05201e374d779c6b /include/asm-arm
parentcdf3f8e0387e81477dee72ecb2e3be28feac05c8 (diff)
[ARM] 3816/1: iop3xx: rename config symbols
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>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-iop3xx/debug-macro.S2
-rw-r--r--include/asm-arm/arch-iop3xx/entry-macro.S4
-rw-r--r--include/asm-arm/arch-iop3xx/iop321.h2
-rw-r--r--include/asm-arm/arch-iop3xx/iop331.h4
-rw-r--r--include/asm-arm/arch-iop3xx/irqs.h4
-rw-r--r--include/asm-arm/arch-iop3xx/memory.h6
-rw-r--r--include/asm-arm/arch-iop3xx/system.h4
-rw-r--r--include/asm-arm/arch-iop3xx/uncompress.h4
8 files changed, 15 insertions, 15 deletions
diff --git a/include/asm-arm/arch-iop3xx/debug-macro.S b/include/asm-arm/arch-iop3xx/debug-macro.S
index ce007e531994..dcc6856d14ff 100644
--- a/include/asm-arm/arch-iop3xx/debug-macro.S
+++ b/include/asm-arm/arch-iop3xx/debug-macro.S
@@ -15,7 +15,7 @@
15 mov \rx, #0xfe000000 @ physical 15 mov \rx, #0xfe000000 @ physical
16#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244) 16#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)
17 orr \rx, \rx, #0x00800000 @ location of the UART 17 orr \rx, \rx, #0x00800000 @ location of the UART
18#elif defined(CONFIG_ARCH_IOP331) 18#elif defined(CONFIG_ARCH_IOP33X)
19 mrc p15, 0, \rx, c1, c0 19 mrc p15, 0, \rx, c1, c0
20 tst \rx, #1 @ MMU enabled? 20 tst \rx, #1 @ MMU enabled?
21 moveq \rx, #0x000fe000 @ Physical Base 21 moveq \rx, #0x000fe000 @ Physical Base
diff --git a/include/asm-arm/arch-iop3xx/entry-macro.S b/include/asm-arm/arch-iop3xx/entry-macro.S
index 926668c098a5..f3db54637ad3 100644
--- a/include/asm-arm/arch-iop3xx/entry-macro.S
+++ b/include/asm-arm/arch-iop3xx/entry-macro.S
@@ -9,7 +9,7 @@
9 */ 9 */
10#include <asm/arch/irqs.h> 10#include <asm/arch/irqs.h>
11 11
12#if defined(CONFIG_ARCH_IOP321) 12#if defined(CONFIG_ARCH_IOP32X)
13 .macro disable_fiq 13 .macro disable_fiq
14 .endm 14 .endm
15 15
@@ -28,7 +28,7 @@
281001: 281001:
29 .endm 29 .endm
30 30
31#elif defined(CONFIG_ARCH_IOP331) 31#elif defined(CONFIG_ARCH_IOP33X)
32 .macro disable_fiq 32 .macro disable_fiq
33 .endm 33 .endm
34 34
diff --git a/include/asm-arm/arch-iop3xx/iop321.h b/include/asm-arm/arch-iop3xx/iop321.h
index f8df778a356f..d198d72a50a4 100644
--- a/include/asm-arm/arch-iop3xx/iop321.h
+++ b/include/asm-arm/arch-iop3xx/iop321.h
@@ -21,7 +21,7 @@
21 * IOP3xx variants but behave slightly differently on each. 21 * IOP3xx variants but behave slightly differently on each.
22 */ 22 */
23#ifndef __ASSEMBLY__ 23#ifndef __ASSEMBLY__
24#ifdef CONFIG_ARCH_IOP321 24#ifdef CONFIG_ARCH_IOP32X
25#define iop_is_321() (((processor_id & 0xfffff5e0) == 0x69052420)) 25#define iop_is_321() (((processor_id & 0xfffff5e0) == 0x69052420))
26#else 26#else
27#define iop_is_321() 0 27#define iop_is_321() 0
diff --git a/include/asm-arm/arch-iop3xx/iop331.h b/include/asm-arm/arch-iop3xx/iop331.h
index fbf0cc11bdd9..4d7bcc62cb3e 100644
--- a/include/asm-arm/arch-iop3xx/iop331.h
+++ b/include/asm-arm/arch-iop3xx/iop331.h
@@ -20,7 +20,7 @@
20 * IOP3xx variants but behave slightly differently on each. 20 * IOP3xx variants but behave slightly differently on each.
21 */ 21 */
22#ifndef __ASSEMBLY__ 22#ifndef __ASSEMBLY__
23#ifdef CONFIG_ARCH_IOP331 23#ifdef CONFIG_ARCH_IOP33X
24/*#define iop_is_331() ((processor_id & 0xffffffb0) == 0x69054090) */ 24/*#define iop_is_331() ((processor_id & 0xffffffb0) == 0x69054090) */
25#define iop_is_331() ((processor_id & 0xffffff30) == 0x69054010) 25#define iop_is_331() ((processor_id & 0xffffff30) == 0x69054010)
26#else 26#else
@@ -257,7 +257,7 @@
257#define IOP331_TU_TISR (volatile u32 *)IOP331_REG_ADDR(0x000007E8) 257#define IOP331_TU_TISR (volatile u32 *)IOP331_REG_ADDR(0x000007E8)
258#define IOP331_TU_WDTCR (volatile u32 *)IOP331_REG_ADDR(0x000007EC) 258#define IOP331_TU_WDTCR (volatile u32 *)IOP331_REG_ADDR(0x000007EC)
259 259
260#if defined(CONFIG_ARCH_IOP331) 260#if defined(CONFIG_ARCH_IOP33X)
261#define IOP331_TICK_RATE 266000000 /* 266 MHz IB clock */ 261#define IOP331_TICK_RATE 266000000 /* 266 MHz IB clock */
262#endif 262#endif
263 263
diff --git a/include/asm-arm/arch-iop3xx/irqs.h b/include/asm-arm/arch-iop3xx/irqs.h
index b2c03f4c269c..4f7c7aa87b4a 100644
--- a/include/asm-arm/arch-iop3xx/irqs.h
+++ b/include/asm-arm/arch-iop3xx/irqs.h
@@ -12,10 +12,10 @@
12/* 12/*
13 * Chipset-specific bits 13 * Chipset-specific bits
14 */ 14 */
15#ifdef CONFIG_ARCH_IOP321 15#ifdef CONFIG_ARCH_IOP32X
16#include "iop321-irqs.h" 16#include "iop321-irqs.h"
17#endif 17#endif
18 18
19#ifdef CONFIG_ARCH_IOP331 19#ifdef CONFIG_ARCH_IOP33X
20#include "iop331-irqs.h" 20#include "iop331-irqs.h"
21#endif 21#endif
diff --git a/include/asm-arm/arch-iop3xx/memory.h b/include/asm-arm/arch-iop3xx/memory.h
index e43ebd984745..25666184e8fc 100644
--- a/include/asm-arm/arch-iop3xx/memory.h
+++ b/include/asm-arm/arch-iop3xx/memory.h
@@ -10,7 +10,7 @@
10/* 10/*
11 * Physical DRAM offset. 11 * Physical DRAM offset.
12 */ 12 */
13#ifndef CONFIG_ARCH_IOP331 13#ifndef CONFIG_ARCH_IOP33X
14#define PHYS_OFFSET UL(0xa0000000) 14#define PHYS_OFFSET UL(0xa0000000)
15#else 15#else
16#define PHYS_OFFSET UL(0x00000000) 16#define PHYS_OFFSET UL(0x00000000)
@@ -23,12 +23,12 @@
23 * bus_to_virt: Used to convert an address for DMA operations 23 * bus_to_virt: Used to convert an address for DMA operations
24 * to an address that the kernel can use. 24 * to an address that the kernel can use.
25 */ 25 */
26#if defined(CONFIG_ARCH_IOP321) 26#if defined(CONFIG_ARCH_IOP32X)
27 27
28#define __virt_to_bus(x) (((__virt_to_phys(x)) & ~(*IOP321_IATVR2)) | ((*IOP321_IABAR2) & 0xfffffff0)) 28#define __virt_to_bus(x) (((__virt_to_phys(x)) & ~(*IOP321_IATVR2)) | ((*IOP321_IABAR2) & 0xfffffff0))
29#define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP321_IALR2)) | ( *IOP321_IATVR2))) 29#define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP321_IALR2)) | ( *IOP321_IATVR2)))
30 30
31#elif defined(CONFIG_ARCH_IOP331) 31#elif defined(CONFIG_ARCH_IOP33X)
32 32
33#define __virt_to_bus(x) (((__virt_to_phys(x)) & ~(*IOP331_IATVR2)) | ((*IOP331_IABAR2) & 0xfffffff0)) 33#define __virt_to_bus(x) (((__virt_to_phys(x)) & ~(*IOP331_IATVR2)) | ((*IOP331_IABAR2) & 0xfffffff0))
34#define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP331_IALR2)) | ( *IOP331_IATVR2))) 34#define __bus_to_virt(x) (__phys_to_virt(((x) & ~(*IOP331_IALR2)) | ( *IOP331_IATVR2)))
diff --git a/include/asm-arm/arch-iop3xx/system.h b/include/asm-arm/arch-iop3xx/system.h
index af6ae8cd36c9..a16cbb77a7f6 100644
--- a/include/asm-arm/arch-iop3xx/system.h
+++ b/include/asm-arm/arch-iop3xx/system.h
@@ -16,11 +16,11 @@ static inline void arch_idle(void)
16 16
17static inline void arch_reset(char mode) 17static inline void arch_reset(char mode)
18{ 18{
19#ifdef CONFIG_ARCH_IOP321 19#ifdef CONFIG_ARCH_IOP32X
20 *IOP321_PCSR = 0x30; 20 *IOP321_PCSR = 0x30;
21#endif 21#endif
22 22
23#ifdef CONFIG_ARCH_IOP331 23#ifdef CONFIG_ARCH_IOP33X
24 *IOP331_PCSR = 0x30; 24 *IOP331_PCSR = 0x30;
25#endif 25#endif
26 26
diff --git a/include/asm-arm/arch-iop3xx/uncompress.h b/include/asm-arm/arch-iop3xx/uncompress.h
index fbdd5af644fe..066c16bc1250 100644
--- a/include/asm-arm/arch-iop3xx/uncompress.h
+++ b/include/asm-arm/arch-iop3xx/uncompress.h
@@ -6,9 +6,9 @@
6#include <linux/serial_reg.h> 6#include <linux/serial_reg.h>
7#include <asm/hardware.h> 7#include <asm/hardware.h>
8 8
9#ifdef CONFIG_ARCH_IOP321 9#ifdef CONFIG_ARCH_IOP32X
10#define UTYPE unsigned char * 10#define UTYPE unsigned char *
11#elif defined(CONFIG_ARCH_IOP331) 11#elif defined(CONFIG_ARCH_IOP33X)
12#define UTYPE u32 * 12#define UTYPE u32 *
13#else 13#else
14#error "Missing IOP3xx arch type def" 14#error "Missing IOP3xx arch type def"