summaryrefslogtreecommitdiff
path: root/include/video_console.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-02-08 21:47:12 +0100
committerAnatolij Gustschin <agust@denx.de>2018-03-06 10:05:49 +0100
commit9ffa4d12a850c6fb8b9b8f7d5fc31ac28633fcdb (patch)
tree2bd9678e22fd01e41edb945d1f7da5ae5fad026b /include/video_console.h
parent5c30fbb8ec4aa364d5e441c86d7b5776d6c94fb0 (diff)
dm: video: support increased intensity (bold)
Support special rendition code 0 - reset attributes. Support special rendition code 1 - increased intensity (bold). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video_console.h')
-rw-r--r--include/video_console.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/video_console.h b/include/video_console.h
index 656a47295f..7621a189d2 100644
--- a/include/video_console.h
+++ b/include/video_console.h
@@ -15,16 +15,24 @@
#define VID_TO_POS(x) ((x) * VID_FRAC_DIV)
/*
- * The 8 colors supported by the console
+ * The 16 colors supported by the console
*/
enum color_idx {
VID_BLACK = 0,
VID_RED,
VID_GREEN,
- VID_YELLOW,
+ VID_BROWN,
VID_BLUE,
VID_MAGENTA,
VID_CYAN,
+ VID_LIGHT_GRAY,
+ VID_GRAY,
+ VID_LIGHT_RED,
+ VID_LIGTH_GREEN,
+ VID_YELLOW,
+ VID_LIGHT_BLUE,
+ VID_LIGHT_MAGENTA,
+ VID_LIGHT_CYAN,
VID_WHITE,
VID_COLOR_COUNT