diff options
author | Timur Tabi <timur@freescale.com> | 2010-08-31 19:56:43 -0500 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-09-21 22:46:02 +0200 |
commit | e69e520f9d235bb7d96296081fdfc09b9fee8c46 (patch) | |
tree | a690ae6920bf6794df239403e0100bec599bc916 /board/freescale/common/fsl_diu_fb.h | |
parent | 68f6618bcd0f06b5558c66ceb607b14f5f46ba03 (diff) |
fsl: refactor MPC8610 and MPC5121 DIU code to use existing bitmap and logo features
The Freescale MPC8610 and MPC5121 DIU code had re-implement two features that already
existed in U-Boot: bitmap drawing and top-of-screen logo (CONFIG_VIDEO_LOGO).
So delete the 8610-specific code and use the built-in features instead.
Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'board/freescale/common/fsl_diu_fb.h')
-rw-r--r-- | board/freescale/common/fsl_diu_fb.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/board/freescale/common/fsl_diu_fb.h b/board/freescale/common/fsl_diu_fb.h index 6deba32754..3a5fc9ff82 100644 --- a/board/freescale/common/fsl_diu_fb.h +++ b/board/freescale/common/fsl_diu_fb.h @@ -52,18 +52,8 @@ struct fb_info { char *screen_base; unsigned long screen_size; - int logo_height; - unsigned int logo_size; }; extern char *fsl_fb_open(struct fb_info **info); -extern int fsl_diu_init(int xres, - unsigned int pixel_format, - int gamma_fix, - unsigned char *splash_bmp); -extern void fsl_diu_clear_screen(void); -extern int fsl_diu_display_bmp(unsigned char *bmp, - int xoffset, - int yoffset, - int transpar); +int fsl_diu_init(int xres, unsigned int pixel_format, int gamma_fix); |