diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-27 01:38:35 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-14 10:22:05 -0400 |
commit | 06413f1e31b992b55bfd8a38346243ca80d621cd (patch) | |
tree | b6bba41cde8020d9ad1122eeef99055176d9b2bc /arch/arm/mach-picoxcell/common.c | |
parent | 360a0cab50414ee30924917159066e69ee4b38d3 (diff) |
ARM: picoxcell: remove dependency on mach/* headers
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
[Jamie Iles: rework to fold picoxcell_soc.h in common.c]
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-picoxcell/common.c')
-rw-r--r-- | arch/arm/mach-picoxcell/common.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/mach-picoxcell/common.c b/arch/arm/mach-picoxcell/common.c index 8f9a0b47a7fa..f6c0849af5e9 100644 --- a/arch/arm/mach-picoxcell/common.c +++ b/arch/arm/mach-picoxcell/common.c | |||
@@ -20,14 +20,15 @@ | |||
20 | #include <asm/hardware/vic.h> | 20 | #include <asm/hardware/vic.h> |
21 | #include <asm/mach/map.h> | 21 | #include <asm/mach/map.h> |
22 | 22 | ||
23 | #include <mach/map.h> | ||
24 | #include <mach/picoxcell_soc.h> | ||
25 | |||
26 | #include "common.h" | 23 | #include "common.h" |
27 | 24 | ||
28 | #define WDT_CTRL_REG_EN_MASK (1 << 0) | 25 | #define PHYS_TO_IO(x) (((x) & 0x00ffffff) | 0xfe000000) |
29 | #define WDT_CTRL_REG_OFFS (0x00) | 26 | #define PICOXCELL_PERIPH_BASE 0x80000000 |
30 | #define WDT_TIMEOUT_REG_OFFS (0x04) | 27 | #define PICOXCELL_PERIPH_LENGTH SZ_4M |
28 | |||
29 | #define WDT_CTRL_REG_EN_MASK (1 << 0) | ||
30 | #define WDT_CTRL_REG_OFFS (0x00) | ||
31 | #define WDT_TIMEOUT_REG_OFFS (0x04) | ||
31 | static void __iomem *wdt_regs; | 32 | static void __iomem *wdt_regs; |
32 | 33 | ||
33 | /* | 34 | /* |