diff options
Diffstat (limited to 'include/asm-m32r/m32700ut')
-rw-r--r-- | include/asm-m32r/m32700ut/m32700ut_lan.h | 13 | ||||
-rw-r--r-- | include/asm-m32r/m32700ut/m32700ut_lcd.h | 13 | ||||
-rw-r--r-- | include/asm-m32r/m32700ut/m32700ut_pld.h | 13 |
3 files changed, 15 insertions, 24 deletions
diff --git a/include/asm-m32r/m32700ut/m32700ut_lan.h b/include/asm-m32r/m32700ut/m32700ut_lan.h index f1e47ae1f891..aae810a4fb2c 100644 --- a/include/asm-m32r/m32700ut/m32700ut_lan.h +++ b/include/asm-m32r/m32700ut/m32700ut_lan.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef _M32700UT_M32700UT_LAN_H | ||
2 | #define _M32700UT_M32700UT_LAN_H | ||
3 | |||
1 | /* | 4 | /* |
2 | * include/asm-m32r/m32700ut/m32700ut_lan.h | 5 | * include/asm-m32r/m32700ut/m32700ut_lan.h |
3 | * | 6 | * |
@@ -8,14 +11,8 @@ | |||
8 | * This file is subject to the terms and conditions of the GNU General | 11 | * This file is subject to the terms and conditions of the GNU General |
9 | * Public License. See the file "COPYING" in the main directory of | 12 | * Public License. See the file "COPYING" in the main directory of |
10 | * this archive for more details. | 13 | * this archive for more details. |
11 | * | ||
12 | * $Id$ | ||
13 | */ | 14 | */ |
14 | 15 | ||
15 | #ifndef _M32700UT_M32700UT_LAN_H | ||
16 | #define _M32700UT_M32700UT_LAN_H | ||
17 | |||
18 | |||
19 | #ifndef __ASSEMBLY__ | 16 | #ifndef __ASSEMBLY__ |
20 | /* | 17 | /* |
21 | * C functions use non-cache address. | 18 | * C functions use non-cache address. |
@@ -23,7 +20,7 @@ | |||
23 | #define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) | 20 | #define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) |
24 | #else | 21 | #else |
25 | #define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) | 22 | #define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) |
26 | #endif /* __ASSEMBLY__ */ | 23 | #endif /* __ASSEMBLY__ */ |
27 | 24 | ||
28 | /* ICU | 25 | /* ICU |
29 | * ICUISTS: status register | 26 | * ICUISTS: status register |
@@ -103,4 +100,4 @@ | |||
103 | #define PLDI2CSTS_BB 0x00000010 | 100 | #define PLDI2CSTS_BB 0x00000010 |
104 | #define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */ | 101 | #define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */ |
105 | 102 | ||
106 | #endif /* _M32700UT_M32700UT_LAN_H */ | 103 | #endif /* _M32700UT_M32700UT_LAN_H */ |
diff --git a/include/asm-m32r/m32700ut/m32700ut_lcd.h b/include/asm-m32r/m32700ut/m32700ut_lcd.h index e41c4aa48b4c..4c2489079788 100644 --- a/include/asm-m32r/m32700ut/m32700ut_lcd.h +++ b/include/asm-m32r/m32700ut/m32700ut_lcd.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef _M32700UT_M32700UT_LCD_H | ||
2 | #define _M32700UT_M32700UT_LCD_H | ||
3 | |||
1 | /* | 4 | /* |
2 | * include/asm-m32r/m32700ut/m32700ut_lcd.h | 5 | * include/asm-m32r/m32700ut/m32700ut_lcd.h |
3 | * | 6 | * |
@@ -8,14 +11,8 @@ | |||
8 | * This file is subject to the terms and conditions of the GNU General | 11 | * This file is subject to the terms and conditions of the GNU General |
9 | * Public License. See the file "COPYING" in the main directory of | 12 | * Public License. See the file "COPYING" in the main directory of |
10 | * this archive for more details. | 13 | * this archive for more details. |
11 | * | ||
12 | * $Id$ | ||
13 | */ | 14 | */ |
14 | 15 | ||
15 | #ifndef _M32700UT_M32700UT_LCD_H | ||
16 | #define _M32700UT_M32700UT_LCD_H | ||
17 | |||
18 | |||
19 | #ifndef __ASSEMBLY__ | 16 | #ifndef __ASSEMBLY__ |
20 | /* | 17 | /* |
21 | * C functions use non-cache address. | 18 | * C functions use non-cache address. |
@@ -23,7 +20,7 @@ | |||
23 | #define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */) | 20 | #define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */) |
24 | #else | 21 | #else |
25 | #define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET) | 22 | #define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET) |
26 | #endif /* __ASSEMBLY__ */ | 23 | #endif /* __ASSEMBLY__ */ |
27 | 24 | ||
28 | /* | 25 | /* |
29 | * ICU | 26 | * ICU |
@@ -55,4 +52,4 @@ | |||
55 | #define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036) | 52 | #define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036) |
56 | #define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a) | 53 | #define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a) |
57 | 54 | ||
58 | #endif /* _M32700UT_M32700UT_LCD_H */ | 55 | #endif /* _M32700UT_M32700UT_LCD_H */ |
diff --git a/include/asm-m32r/m32700ut/m32700ut_pld.h b/include/asm-m32r/m32700ut/m32700ut_pld.h index a48c22c978ca..d39121279a1a 100644 --- a/include/asm-m32r/m32700ut/m32700ut_pld.h +++ b/include/asm-m32r/m32700ut/m32700ut_pld.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef _M32700UT_M32700UT_PLD_H | ||
2 | #define _M32700UT_M32700UT_PLD_H | ||
3 | |||
1 | /* | 4 | /* |
2 | * include/asm-m32r/m32700ut/m32700ut_pld.h | 5 | * include/asm-m32r/m32700ut/m32700ut_pld.h |
3 | * | 6 | * |
@@ -8,14 +11,8 @@ | |||
8 | * This file is subject to the terms and conditions of the GNU General | 11 | * This file is subject to the terms and conditions of the GNU General |
9 | * Public License. See the file "COPYING" in the main directory of | 12 | * Public License. See the file "COPYING" in the main directory of |
10 | * this archive for more details. | 13 | * this archive for more details. |
11 | * | ||
12 | * $Id$ | ||
13 | */ | 14 | */ |
14 | 15 | ||
15 | #ifndef _M32700UT_M32700UT_PLD_H | ||
16 | #define _M32700UT_M32700UT_PLD_H | ||
17 | |||
18 | |||
19 | #if defined(CONFIG_PLAT_M32700UT_Alpha) | 16 | #if defined(CONFIG_PLAT_M32700UT_Alpha) |
20 | #define PLD_PLAT_BASE 0x08c00000 | 17 | #define PLD_PLAT_BASE 0x08c00000 |
21 | #elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV) | 18 | #elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV) |
@@ -37,7 +34,7 @@ | |||
37 | #define __reg8 | 34 | #define __reg8 |
38 | #define __reg16 | 35 | #define __reg16 |
39 | #define __reg32 | 36 | #define __reg32 |
40 | #endif /* __ASSEMBLY__ */ | 37 | #endif /* __ASSEMBLY__ */ |
41 | 38 | ||
42 | /* CFC */ | 39 | /* CFC */ |
43 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) | 40 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) |
@@ -261,4 +258,4 @@ | |||
261 | #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) | 258 | #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) |
262 | #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) | 259 | #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) |
263 | 260 | ||
264 | #endif /* _M32700UT_M32700UT_PLD.H */ | 261 | #endif /* _M32700UT_M32700UT_PLD.H */ |