mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
include: Enable video related global data variable and splash at SPL
To include video related global data variables and splash functions at SPL and u-boot proper, use CONFIG_IS_ENABLED. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain <n-jain1@ti.com> Reviewed-by: Devarsh Thakkar <devarsht@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Anatolij Gustschin
parent
eb9217dc03
commit
25127ea388
@@ -68,7 +68,7 @@ struct global_data {
|
||||
* @mem_clk: memory clock rate in Hz
|
||||
*/
|
||||
unsigned long mem_clk;
|
||||
#if defined(CONFIG_VIDEO)
|
||||
#if CONFIG_IS_ENABLED(VIDEO)
|
||||
/**
|
||||
* @fb_base: base address of frame buffer memory
|
||||
*/
|
||||
@@ -359,7 +359,7 @@ struct global_data {
|
||||
*/
|
||||
struct membuff console_in;
|
||||
#endif
|
||||
#ifdef CONFIG_VIDEO
|
||||
#if CONFIG_IS_ENABLED(VIDEO)
|
||||
/**
|
||||
* @video_top: top of video frame buffer area
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user