From c96f580d63c6de4c949a8e9eddd5133d5d32ca77 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Wed, 26 Dec 2012 02:50:41 +0100 Subject: [PATCH] fuze+: fix bootloader build Change-Id: Ibe221d0f94ec4234ce1459073ba9ae77f6de162f --- firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index 6ede0d3f29..34afc0478e 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c @@ -29,9 +29,11 @@ #include "pinctrl-imx233.h" #include "dcp-imx233.h" #include "logf.h" +#ifndef BOOTLOADER #include "button.h" #include "font.h" #include "action.h" +#endif #ifdef HAVE_LCD_ENABLE static bool lcd_on; @@ -783,6 +785,7 @@ void lcd_blit_yuv(unsigned char * const src[3], #endif } +#ifndef BOOTLOADER bool lcd_debug_screen(void) { lcd_setfont(FONT_SYSFIXED); @@ -813,3 +816,4 @@ bool lcd_debug_screen(void) return true; } +#endif