diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-23 14:19:50 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-23 14:19:50 +0000 |
commit | e9575bdf2f72789ee931df0cce07b21e3c76cc6f (patch) | |
tree | 299bf3599ab62386c553c03b5d562d9809526081 /firmware/target | |
parent | 7352e72cb9f5027ff97118d1369fe2cecb67e8d3 (diff) | |
download | rockbox-e9575bdf2f72789ee931df0cce07b21e3c76cc6f.tar.gz rockbox-e9575bdf2f72789ee931df0cce07b21e3c76cc6f.zip |
fuze+: fix typo and remove ugly logf construct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30829 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index b7b65c50f2..679fe6c85a 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | |||
@@ -27,8 +27,7 @@ | |||
27 | #include "lcdif-imx233.h" | 27 | #include "lcdif-imx233.h" |
28 | #include "clkctrl-imx233.h" | 28 | #include "clkctrl-imx233.h" |
29 | #include "pinctrl-imx233.h" | 29 | #include "pinctrl-imx233.h" |
30 | 30 | #include "logf.h" | |
31 | #define logf(...) | ||
32 | 31 | ||
33 | /* Copies a rectangle from one framebuffer to another. Can be used in | 32 | /* Copies a rectangle from one framebuffer to another. Can be used in |
34 | single transfer mode with width = num pixels, and height = 1 which | 33 | single transfer mode with width = num pixels, and height = 1 which |
@@ -142,7 +141,6 @@ static void setup_lcdif(void) | |||
142 | setup_parameters(); | 141 | setup_parameters(); |
143 | common_lcd_enable(true); | 142 | common_lcd_enable(true); |
144 | imx233_lcdif_enable_bus_master(true); | 143 | imx233_lcdif_enable_bus_master(true); |
145 | //imx233_lcdif_enable_irqs(HW_LCDIF__CUR_FRAME_DONE_IRQ); | ||
146 | } | 144 | } |
147 | 145 | ||
148 | static inline uint32_t encode_16_to_18(uint32_t a) | 146 | static inline uint32_t encode_16_to_18(uint32_t a) |
@@ -157,7 +155,7 @@ static inline uint32_t decode_18_to_16(uint32_t a) | |||
157 | 155 | ||
158 | static void setup_lcdif_clock(void) | 156 | static void setup_lcdif_clock(void) |
159 | { | 157 | { |
160 | /* the LCD seems to works at 24Mhz, so use the xtal clock with no divider */ | 158 | /* the LCD seems to work at 24Mhz, so use the xtal clock with no divider */ |
161 | imx233_enable_clock(CLK_PIX, false); | 159 | imx233_enable_clock(CLK_PIX, false); |
162 | imx233_set_clock_divisor(CLK_PIX, 1); | 160 | imx233_set_clock_divisor(CLK_PIX, 1); |
163 | imx233_set_bypass_pll(CLK_PIX, true); /* use XTAL */ | 161 | imx233_set_bypass_pll(CLK_PIX, true); /* use XTAL */ |