summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-04-05 12:17:11 +0000
committerThomas Martitz <kugel@rockbox.org>2010-04-05 12:17:11 +0000
commitae69e92008046b447833dde37e1fbc55c229cdcf (patch)
tree67dd52b6016f8f50e613b7f4dc0af4fe61e0d8bb /firmware/target/arm/as3525
parent20003ec1c080f683f5c3b76537a419a231f6cf14 (diff)
downloadrockbox-ae69e92008046b447833dde37e1fbc55c229cdcf.tar.gz
rockbox-ae69e92008046b447833dde37e1fbc55c229cdcf.zip
as2525(v2): We don't need yuv blitting/greylib support in the bootloader so don't compile it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/lcd-ssd1303.c5
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c5
-rw-r--r--firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c5
-rw-r--r--firmware/target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c5
4 files changed, 20 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/lcd-ssd1303.c b/firmware/target/arm/as3525/lcd-ssd1303.c
index e4437e70ca..09f2638ff7 100644
--- a/firmware/target/arm/as3525/lcd-ssd1303.c
+++ b/firmware/target/arm/as3525/lcd-ssd1303.c
@@ -216,6 +216,8 @@ void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
216 } 216 }
217} 217}
218 218
219
220#ifndef BOOTLOADER
219/* Helper function for lcd_grey_phase_blit(). */ 221/* Helper function for lcd_grey_phase_blit(). */
220void lcd_grey_data(unsigned char *values, unsigned char *phases, int count); 222void lcd_grey_data(unsigned char *values, unsigned char *phases, int count);
221 223
@@ -242,6 +244,9 @@ void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
242 } 244 }
243} 245}
244 246
247#endif
248
249
245/* Update the display. 250/* Update the display.
246 This must be called after all other LCD functions that change the display. */ 251 This must be called after all other LCD functions that change the display. */
247void lcd_update(void) ICODE_ATTR; 252void lcd_update(void) ICODE_ATTR;
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
index 5c3e92bb1a..2808d60f46 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
+++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
@@ -366,6 +366,8 @@ static void lcd_window_blit(int xmin, int ymin, int xmax, int ymax)
366 } 366 }
367} 367}
368 368
369
370#ifndef BOOTLOADER
369/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */ 371/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */
370extern void lcd_write_yuv420_lines(unsigned char const * const src[3], 372extern void lcd_write_yuv420_lines(unsigned char const * const src[3],
371 int width, 373 int width,
@@ -434,6 +436,9 @@ void lcd_blit_yuv(unsigned char * const src[3],
434 } 436 }
435} 437}
436 438
439#endif
440
441
437/* Update the display. 442/* Update the display.
438 This must be called after all other LCD functions that change the display. */ 443 This must be called after all other LCD functions that change the display. */
439void lcd_update(void) 444void lcd_update(void)
diff --git a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
index bdf1c704e0..54d4d73183 100644
--- a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
+++ b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c
@@ -306,6 +306,8 @@ void lcd_yuv_set_options(unsigned options)
306 lcd_yuv_options = options; 306 lcd_yuv_options = options;
307} 307}
308 308
309
310#ifndef BOOTLOADER
309/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */ 311/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */
310extern void lcd_write_yuv420_lines(unsigned char const * const src[3], 312extern void lcd_write_yuv420_lines(unsigned char const * const src[3],
311 int width, 313 int width,
@@ -380,6 +382,9 @@ void lcd_blit_yuv(unsigned char * const src[3],
380 } 382 }
381} 383}
382 384
385#endif
386
387
383/* Update the display. 388/* Update the display.
384 This must be called after all other LCD functions that change the display. */ 389 This must be called after all other LCD functions that change the display. */
385void lcd_update(void) 390void lcd_update(void)
diff --git a/firmware/target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c b/firmware/target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c
index d17149ee95..f3fa8e3205 100644
--- a/firmware/target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c
+++ b/firmware/target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c
@@ -303,6 +303,8 @@ void lcd_yuv_set_options(unsigned options)
303 lcd_yuv_options = options; 303 lcd_yuv_options = options;
304} 304}
305 305
306
307#ifndef BOOTLOADER
306/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */ 308/* Line write helper function for lcd_yuv_blit. Write two lines of yuv420. */
307extern void lcd_write_yuv420_lines(unsigned char const * const src[3], 309extern void lcd_write_yuv420_lines(unsigned char const * const src[3],
308 int width, 310 int width,
@@ -375,6 +377,9 @@ void lcd_blit_yuv(unsigned char * const src[3],
375 } 377 }
376} 378}
377 379
380#endif
381
382
378/* Update the display. 383/* Update the display.
379 This must be called after all other LCD functions that change the display. */ 384 This must be called after all other LCD functions that change the display. */
380void lcd_update(void) 385void lcd_update(void)