diff options
Diffstat (limited to 'include/asm-m32r/mappi3/mappi3_pld.h')
-rw-r--r-- | include/asm-m32r/mappi3/mappi3_pld.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/asm-m32r/mappi3/mappi3_pld.h b/include/asm-m32r/mappi3/mappi3_pld.h index 92f10defaef8..451c40ee70af 100644 --- a/include/asm-m32r/mappi3/mappi3_pld.h +++ b/include/asm-m32r/mappi3/mappi3_pld.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef _MAPPI3_PLD_H | ||
2 | #define _MAPPI3_PLD_H | ||
3 | |||
1 | /* | 4 | /* |
2 | * include/asm-m32r/mappi3/mappi3_pld.h | 5 | * include/asm-m32r/mappi3/mappi3_pld.h |
3 | * | 6 | * |
@@ -7,12 +10,8 @@ | |||
7 | * This file is subject to the terms and conditions of the GNU General | 10 | * This file is subject to the terms and conditions of the GNU General |
8 | * Public License. See the file "COPYING" in the main directory of | 11 | * Public License. See the file "COPYING" in the main directory of |
9 | * this archive for more details. | 12 | * this archive for more details. |
10 | * | ||
11 | */ | 13 | */ |
12 | 14 | ||
13 | #ifndef _MAPPI3_PLD_H | ||
14 | #define _MAPPI3_PLD_H | ||
15 | |||
16 | #ifndef __ASSEMBLY__ | 15 | #ifndef __ASSEMBLY__ |
17 | /* FIXME: | 16 | /* FIXME: |
18 | * Some C functions use non-cache address, so can't define non-cache address. | 17 | * Some C functions use non-cache address, so can't define non-cache address. |
@@ -26,7 +25,7 @@ | |||
26 | #define __reg8 | 25 | #define __reg8 |
27 | #define __reg16 | 26 | #define __reg16 |
28 | #define __reg32 | 27 | #define __reg32 |
29 | #endif /* __ASSEMBLY__ */ | 28 | #endif /* __ASSEMBLY__ */ |
30 | 29 | ||
31 | /* CFC */ | 30 | /* CFC */ |
32 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) | 31 | #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) |
@@ -140,4 +139,4 @@ | |||
140 | /* Reset Control */ | 139 | /* Reset Control */ |
141 | #define PLD_REBOOT __reg16(PLD_BASE + 0x38000) | 140 | #define PLD_REBOOT __reg16(PLD_BASE + 0x38000) |
142 | 141 | ||
143 | #endif /* _MAPPI3_PLD.H */ | 142 | #endif /* _MAPPI3_PLD.H */ |