X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fvideo.h;h=e7c58e86cb490ea503467d185dd0ab0f6ec3ddeb;hb=406df85345f942d9348443983d81a01e013e920b;hp=1d57b48b173807dfb9914793e7ff283ab5962425;hpb=10d3e90f46feace58f4141b696d91644e594e3ed;p=oweals%2Fu-boot.git diff --git a/include/video.h b/include/video.h index 1d57b48b17..e7c58e86cb 100644 --- a/include/video.h +++ b/include/video.h @@ -17,6 +17,8 @@ #include +struct udevice; + struct video_uc_platdata { uint align; uint size; @@ -70,6 +72,7 @@ enum video_log2_bpp { * 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: */ @@ -92,6 +95,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 */