X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=include%2Fvideo.h;h=485071d0723356abe07ab48d31f0738333eea4f6;hb=ddc935fc093ffacd9aeeb8fe12cd7ebeeefc87dd;hp=3f9139eea445eec966ae5ebc612e6967fbe7612a;hpb=b9f210a35c39a191ca375e541e09686a3303e428;p=oweals%2Fu-boot.git diff --git a/include/video.h b/include/video.h index 3f9139eea4..485071d072 100644 --- a/include/video.h +++ b/include/video.h @@ -61,13 +61,16 @@ enum video_log2_bpp { * @font_size: Font size in pixels (0 to use a default value) * @fb: Frame buffer * @fb_size: Frame buffer size - * @line_length: Length of each frame buffer line, in bytes + * @line_length: Length of each frame buffer line, in bytes. This can be + * set by the driver, but if not, the uclass will set it after + * probing * @colour_fg: Foreground colour (pixel value) * @colour_bg: Background colour (pixel value) * @flush_dcache: true to enable flushing of the data cache after * the LCD is updated * @cmap: Colour map for 8-bit-per-pixel displays * @fg_col_idx: Foreground color code (bit 3 = bold, bit 0-2 = color) + * @bg_col_idx: Background color code (bit 3 = bold, bit 0-2 = color) */ struct video_priv { /* Things set up by the driver: */ @@ -90,6 +93,7 @@ struct video_priv { bool flush_dcache; ushort *cmap; u8 fg_col_idx; + u8 bg_col_idx; }; /* Placeholder - there are no video operations at present */