projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM64: zynqmp: Enable pca953x driver for zcu102
[oweals/u-boot.git]
/
include
/
video_fb.h
diff --git
a/include/video_fb.h
b/include/video_fb.h
index 028e2a6aea4c772846d383ed830183499c0af707..55ec24dbeef33672ba501eba10749f2f82944002 100644
(file)
--- a/
include/video_fb.h
+++ b/
include/video_fb.h
@@
-18,8
+18,13
@@
#ifndef _VIDEO_FB_H_
#define _VIDEO_FB_H_
#ifndef _VIDEO_FB_H_
#define _VIDEO_FB_H_
+#if defined(CONFIG_SYS_CONSOLE_FG_COL) && defined(CONFIG_SYS_CONSOLE_BG_COL)
+#define CONSOLE_BG_COL CONFIG_SYS_CONSOLE_BG_COL
+#define CONSOLE_FG_COL CONFIG_SYS_CONSOLE_FG_COL
+#else
#define CONSOLE_BG_COL 0x00
#define CONSOLE_FG_COL 0xa0
#define CONSOLE_BG_COL 0x00
#define CONSOLE_FG_COL 0xa0
+#endif
/*
* Graphic Data Format (GDF) bits for VIDEO_DATA_FORMAT
/*
* Graphic Data Format (GDF) bits for VIDEO_DATA_FORMAT
@@
-35,7
+40,7
@@
/* Export Graphic Driver Control */
/******************************************************************************/
/* Export Graphic Driver Control */
/******************************************************************************/
-typedef struct {
+typedef struct
graphic_device
{
unsigned int isaBase;
unsigned int pciBase;
unsigned int dprBase;
unsigned int isaBase;
unsigned int pciBase;
unsigned int dprBase;