summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rwxr-xr-xfirmware/export/imx31l.h4
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/lcd-imx31.c11
2 files changed, 0 insertions, 15 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h
index 9fc51337b1..8ea7750ac3 100755
--- a/firmware/export/imx31l.h
+++ b/firmware/export/imx31l.h
@@ -1119,10 +1119,6 @@
1119#define SDRAM_COMPARE_CONST2 0xAAAAAAAA 1119#define SDRAM_COMPARE_CONST2 0xAAAAAAAA
1120#define UART_FIFO_CTRL 0x881 1120#define UART_FIFO_CTRL 0x881
1121#define TIMEOUT 1000 1121#define TIMEOUT 1000
1122#define writel(v,a) (*(REG32_PTR_T)(a) = (v))
1123#define readl(a) (*(REG32_PTR_T)(a))
1124#define writew(v,a) (*(REG16_PTR_T)(a) = (v))
1125#define readw(a) (*(REG16_PTR_T)(a))
1126 1122
1127#define USB_BASE OTG_BASE_ADDR 1123#define USB_BASE OTG_BASE_ADDR
1128 1124
diff --git a/firmware/target/arm/imx31/gigabeat-s/lcd-imx31.c b/firmware/target/arm/imx31/gigabeat-s/lcd-imx31.c
index b834320c12..ea8b10b582 100644
--- a/firmware/target/arm/imx31/gigabeat-s/lcd-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/lcd-imx31.c
@@ -28,17 +28,6 @@ bool lcd_enabled()
28} 28}
29#endif 29#endif
30 30
31void printscreen(unsigned int colour)
32{
33 int i;
34 char * base = (char *)FRAME;
35 for(i = 0; i < (320*240*2); i++)
36 {
37 writel(colour, base);
38 base++;
39 }
40}
41
42/* LCD init */ 31/* LCD init */
43void lcd_init_device(void) 32void lcd_init_device(void)
44{ 33{