From: John Rigby Date: Mon, 26 Jan 2009 13:07:04 -0700 Subject: [U-Boot] [PATCH 1/5] ADS5121 DIU Make inclusion of FSL logo optional In-Reply-To: <1233000428-7134-1-git-send-email-jrigby@freescale.com> References: <1233000428-7134-1-git-send-email-jrigby@freescale.com> Message-ID: <1233000428-7134-2-git-send-email-jrigby@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Make inclusion of FSL logo optional and turn it off by default. Signed-off-by: John Rigby --- board/ads5121/ads5121_diu.c | 4 ++++ include/configs/ads5121.h | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/ads5121/ads5121_diu.c b/board/ads5121/ads5121_diu.c index 11450aa..ac7a447 100644 --- a/board/ads5121/ads5121_diu.c +++ b/board/ads5121/ads5121_diu.c @@ -37,7 +37,11 @@ #include #endif +#ifdef CONFIG_FSL_DIU_LOGO_BMP extern unsigned int FSL_Logo_BMP[]; +#else +#define FSL_Logo_BMP NULL +#endif static int xres, yres; diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h index bb3525f..bb38be6 100644 --- a/include/configs/ads5121.h +++ b/include/configs/ads5121.h @@ -47,6 +47,7 @@ #define CONFIG_E300 1 /* E300 Family */ #define CONFIG_MPC512X 1 /* MPC512X family */ #define CONFIG_FSL_DIU_FB 1 /* FSL DIU */ +#undef CONFIG_FSL_DIU_LOGO_BMP /* Don't include FSL DIU binary bmp */ /* video */ #undef CONFIG_VIDEO -- 1.5.6.2.255.gbed62