diff options
Diffstat (limited to 'arch/arm/mach-iop32x/common.c')
-rw-r--r-- | arch/arm/mach-iop32x/common.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/arm/mach-iop32x/common.c b/arch/arm/mach-iop32x/common.c index 8044af6a54e1..17e7d650fecb 100644 --- a/arch/arm/mach-iop32x/common.c +++ b/arch/arm/mach-iop32x/common.c | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <linux/delay.h> | 15 | #include <linux/delay.h> |
16 | #include <asm/hardware.h> | 16 | #include <asm/hardware.h> |
17 | #include <asm/hardware/iop3xx.h> | ||
17 | 18 | ||
18 | /* | 19 | /* |
19 | * Shared variables | 20 | * Shared variables |
@@ -39,23 +40,23 @@ void ep80219_power_off(void) | |||
39 | */ | 40 | */ |
40 | 41 | ||
41 | /* Send the Address byte w/ the start condition */ | 42 | /* Send the Address byte w/ the start condition */ |
42 | *IOP321_IDBR1 = 0x60; | 43 | *IOP3XX_IDBR1 = 0x60; |
43 | *IOP321_ICR1 = 0xE9; | 44 | *IOP3XX_ICR1 = 0xE9; |
44 | mdelay(1); | 45 | mdelay(1); |
45 | 46 | ||
46 | /* Send the START_MSG byte w/ no start or stop condition */ | 47 | /* Send the START_MSG byte w/ no start or stop condition */ |
47 | *IOP321_IDBR1 = 0x0F; | 48 | *IOP3XX_IDBR1 = 0x0F; |
48 | *IOP321_ICR1 = 0xE8; | 49 | *IOP3XX_ICR1 = 0xE8; |
49 | mdelay(1); | 50 | mdelay(1); |
50 | 51 | ||
51 | /* Send the SHUTDOWN_COMPLETE Message ID byte w/ no start or stop condition */ | 52 | /* Send the SHUTDOWN_COMPLETE Message ID byte w/ no start or stop condition */ |
52 | *IOP321_IDBR1 = 0x03; | 53 | *IOP3XX_IDBR1 = 0x03; |
53 | *IOP321_ICR1 = 0xE8; | 54 | *IOP3XX_ICR1 = 0xE8; |
54 | mdelay(1); | 55 | mdelay(1); |
55 | 56 | ||
56 | /* Send an ignored byte w/ stop condition */ | 57 | /* Send an ignored byte w/ stop condition */ |
57 | *IOP321_IDBR1 = 0x00; | 58 | *IOP3XX_IDBR1 = 0x00; |
58 | *IOP321_ICR1 = 0xEA; | 59 | *IOP3XX_ICR1 = 0xEA; |
59 | 60 | ||
60 | while (1) ; | 61 | while (1) ; |
61 | } | 62 | } |