diff options
Diffstat (limited to 'include/asm-m32r/m32104ut/m32104ut_pld.h')
-rw-r--r-- | include/asm-m32r/m32104ut/m32104ut_pld.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/asm-m32r/m32104ut/m32104ut_pld.h b/include/asm-m32r/m32104ut/m32104ut_pld.h index cbdbc5891445..2dc89d68b6d9 100644 --- a/include/asm-m32r/m32104ut/m32104ut_pld.h +++ b/include/asm-m32r/m32104ut/m32104ut_pld.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef _M32104UT_M32104UT_PLD_H | ||
2 | #define _M32104UT_M32104UT_PLD_H | ||
3 | |||
1 | /* | 4 | /* |
2 | * include/asm-m32r/m32104ut/m32104ut_pld.h | 5 | * include/asm-m32r/m32104ut/m32104ut_pld.h |
3 | * | 6 | * |
@@ -12,10 +15,6 @@ | |||
12 | * this archive for more details. | 15 | * this archive for more details. |
13 | */ | 16 | */ |
14 | 17 | ||
15 | #ifndef _M32104UT_M32104UT_PLD_H | ||
16 | #define _M32104UT_M32104UT_PLD_H | ||
17 | |||
18 | |||
19 | #if defined(CONFIG_PLAT_M32104UT) | 18 | #if defined(CONFIG_PLAT_M32104UT) |
20 | #define PLD_PLAT_BASE 0x02c00000 | 19 | #define PLD_PLAT_BASE 0x02c00000 |
21 | #else | 20 | #else |
@@ -35,7 +34,7 @@ | |||
35 | #define __reg8 | 34 | #define __reg8 |
36 | #define __reg16 | 35 | #define __reg16 |
37 | #define __reg32 | 36 | #define __reg32 |
38 | #endif /* __ASSEMBLY__ */ | 37 | #endif /* __ASSEMBLY__ */ |
39 | 38 | ||
40 | /* CFC */ | 39 | /* CFC */ |
41 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) | 40 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) |
@@ -159,4 +158,4 @@ | |||
159 | #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) | 158 | #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) |
160 | #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) | 159 | #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) |
161 | 160 | ||
162 | #endif /* _M32104UT_M32104UT_PLD_H */ | 161 | #endif /* _M32104UT_M32104UT_PLD_H */ |