diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2011-01-17 13:58:44 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2011-01-17 13:58:44 +0800 |
commit | 81915375667b6aa19f3ac1e93661007fde4b089a (patch) | |
tree | e9e41c4acb1e3247b2f6f04ed43df05c5af40ac3 /board/freescale | |
parent | 4f9c691a594708717d52bb72b8026528e674deec (diff) | |
download | u-boot-imx-81915375667b6aa19f3ac1e93661007fde4b089a.zip u-boot-imx-81915375667b6aa19f3ac1e93661007fde4b089a.tar.gz u-boot-imx-81915375667b6aa19f3ac1e93661007fde4b089a.tar.bz2 |
ENGR00138040-3 Protect splashimage related stuffs by config
This patch protects splashimge related stuffs by config
option for mx51 bbg, mx53 ard and mx53 smd.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx51_bbg/mx51_bbg.c | 4 | ||||
-rwxr-xr-x | board/freescale/mx53_ard/mx53_ard.c | 2 | ||||
-rw-r--r-- | board/freescale/mx53_smd/mx53_smd.c | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/board/freescale/mx51_bbg/mx51_bbg.c b/board/freescale/mx51_bbg/mx51_bbg.c index 256fdf6..400d520 100644 --- a/board/freescale/mx51_bbg/mx51_bbg.c +++ b/board/freescale/mx51_bbg/mx51_bbg.c @@ -29,11 +29,13 @@ #include <asm/arch/iomux.h> #include <asm/errno.h> #include <i2c.h> +#if defined(CONFIG_VIDEO_MX5) #include <linux/list.h> #include <ipu.h> #include <lcd.h> #include <linux/fb.h> #include <linux/mxcfb.h> +#endif #include "board-imx51.h" #ifdef CONFIG_IMX_ECSPI #include <imx_spi.h> @@ -83,7 +85,6 @@ short colormap[65536]; #else short colormap[16777216]; #endif -#endif extern int ipuv3_fb_init(struct fb_videomode *mode, int di, int interface_pix_fmt, @@ -99,6 +100,7 @@ static struct fb_videomode claa_wvga = { }; vidinfo_t panel_info; +#endif static inline void setup_boot_device(void) { diff --git a/board/freescale/mx53_ard/mx53_ard.c b/board/freescale/mx53_ard/mx53_ard.c index 01087be..94be65b 100755 --- a/board/freescale/mx53_ard/mx53_ard.c +++ b/board/freescale/mx53_ard/mx53_ard.c @@ -99,7 +99,6 @@ struct pwm_device pwm1 = { }; static int di = 1; -#endif extern int ipuv3_fb_init(struct fb_videomode *mode, int di, int interface_pix_fmt, @@ -114,6 +113,7 @@ static struct fb_videomode lvds_xga = { }; vidinfo_t panel_info; +#endif static inline void setup_boot_device(void) { diff --git a/board/freescale/mx53_smd/mx53_smd.c b/board/freescale/mx53_smd/mx53_smd.c index 1b44b3c..2675046 100644 --- a/board/freescale/mx53_smd/mx53_smd.c +++ b/board/freescale/mx53_smd/mx53_smd.c @@ -96,7 +96,6 @@ struct pwm_device pwm1 = { }; static int di = 1; -#endif extern int ipuv3_fb_init(struct fb_videomode *mode, int di, int interface_pix_fmt, @@ -111,6 +110,7 @@ static struct fb_videomode lvds_xga = { }; vidinfo_t panel_info; +#endif static inline void setup_boot_device(void) { |