diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx51_bbg.h | 18 | ||||
-rw-r--r-- | include/ipu.h | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/mx51_bbg.h b/include/configs/mx51_bbg.h index bdb3621..ff4406a 100644 --- a/include/configs/mx51_bbg.h +++ b/include/configs/mx51_bbg.h @@ -274,4 +274,22 @@ #undef CONFIG_JFFS2_CMDLINE #define CONFIG_JFFS2_DEV "nand0" +#define CONFIG_SPLASH_SCREEN +#ifdef CONFIG_SPLASH_SCREEN + /* + * Framebuffer and LCD + */ + #define CONFIG_LCD + #define CONFIG_VIDEO_MX5 + #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE + #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE + #define CONFIG_SYS_CONSOLE_IS_IN_ENV + #define LCD_BPP LCD_COLOR16 + #define CONFIG_CMD_BMP + #define CONFIG_BMP_8BPP + #define CONFIG_FB_BASE (TEXT_BASE + 0x300000) + #define CONFIG_SPLASH_SCREEN_ALIGN + #define CONFIG_SYS_WHITE_ON_BLACK +#endif + #endif /* __CONFIG_H */ diff --git a/include/ipu.h b/include/ipu.h index d8bc287..204897c 100644 --- a/include/ipu.h +++ b/include/ipu.h @@ -318,4 +318,7 @@ void ipu_dp_uninit(ipu_channel_t channel); void ipu_dp_dc_disable(ipu_channel_t channel, unsigned char swap); ipu_color_space_t format_to_colorspace(uint32_t fmt); +void ipu_clk_enable(void); +void ipu_clk_disable(void); + #endif |