diff options
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 03a43ea148a9..f04c8333dff7 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include <mach/irda.h> | 49 | #include <mach/irda.h> |
50 | #include <mach/pxafb.h> | 50 | #include <mach/pxafb.h> |
51 | #include <mach/mmc.h> | 51 | #include <mach/mmc.h> |
52 | #include <mach/pm.h> | ||
52 | 53 | ||
53 | #include "generic.h" | 54 | #include "generic.h" |
54 | #include "clock.h" | 55 | #include "clock.h" |
@@ -112,8 +113,14 @@ static unsigned long lubbock_pin_config[] __initdata = { | |||
112 | GPIO1_GPIO | WAKEUP_ON_EDGE_RISE, | 113 | GPIO1_GPIO | WAKEUP_ON_EDGE_RISE, |
113 | }; | 114 | }; |
114 | 115 | ||
116 | #define LUB_HEXLED __LUB_REG(LUBBOCK_FPGA_PHYS + 0x010) | ||
115 | #define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080) | 117 | #define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080) |
116 | 118 | ||
119 | void lubbock_set_hexled(uint32_t value) | ||
120 | { | ||
121 | LUB_HEXLED = value; | ||
122 | } | ||
123 | |||
117 | void lubbock_set_misc_wr(unsigned int mask, unsigned int set) | 124 | void lubbock_set_misc_wr(unsigned int mask, unsigned int set) |
118 | { | 125 | { |
119 | unsigned long flags; | 126 | unsigned long flags; |