diff options
Diffstat (limited to 'arch/arm/mach-pxa/lubbock.c')
| -rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index bff704354c1a..f04c8333dff7 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
| @@ -41,15 +41,15 @@ | |||
| 41 | 41 | ||
| 42 | #include <asm/hardware/sa1111.h> | 42 | #include <asm/hardware/sa1111.h> |
| 43 | 43 | ||
| 44 | #include <mach/pxa-regs.h> | 44 | #include <mach/pxa25x.h> |
| 45 | #include <mach/pxa2xx-regs.h> | 45 | #include <mach/gpio.h> |
| 46 | #include <mach/mfp-pxa25x.h> | ||
| 47 | #include <mach/audio.h> | 46 | #include <mach/audio.h> |
| 48 | #include <mach/lubbock.h> | 47 | #include <mach/lubbock.h> |
| 49 | #include <mach/udc.h> | 48 | #include <mach/udc.h> |
| 50 | #include <mach/irda.h> | 49 | #include <mach/irda.h> |
| 51 | #include <mach/pxafb.h> | 50 | #include <mach/pxafb.h> |
| 52 | #include <mach/mmc.h> | 51 | #include <mach/mmc.h> |
| 52 | #include <mach/pm.h> | ||
| 53 | 53 | ||
| 54 | #include "generic.h" | 54 | #include "generic.h" |
| 55 | #include "clock.h" | 55 | #include "clock.h" |
| @@ -113,8 +113,14 @@ static unsigned long lubbock_pin_config[] __initdata = { | |||
| 113 | GPIO1_GPIO | WAKEUP_ON_EDGE_RISE, | 113 | GPIO1_GPIO | WAKEUP_ON_EDGE_RISE, |
| 114 | }; | 114 | }; |
| 115 | 115 | ||
| 116 | #define LUB_HEXLED __LUB_REG(LUBBOCK_FPGA_PHYS + 0x010) | ||
| 116 | #define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080) | 117 | #define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080) |
| 117 | 118 | ||
| 119 | void lubbock_set_hexled(uint32_t value) | ||
| 120 | { | ||
| 121 | LUB_HEXLED = value; | ||
| 122 | } | ||
| 123 | |||
| 118 | void lubbock_set_misc_wr(unsigned int mask, unsigned int set) | 124 | void lubbock_set_misc_wr(unsigned int mask, unsigned int set) |
| 119 | { | 125 | { |
| 120 | unsigned long flags; | 126 | unsigned long flags; |
