summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-06-07 16:31:30 +0900
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-07-26 11:50:55 +0300
commitdbb5ff4c2300474ac0b5993d98181b0437e73f9c (patch)
tree3d65f4eaff1492e93b4eadf9dfae6c1992debeb3 /drivers/video
parent9f0a511f4a227c58c45b65c10fd2b85586360f67 (diff)
simplefb: add support for a8b8g8r8 pixel format
A framebuffer of this format is set up by SHIELD's bootloader. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/simplefb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c
index e2e9e3e61b7..f0154824582 100644
--- a/drivers/video/simplefb.c
+++ b/drivers/video/simplefb.c
@@ -84,6 +84,7 @@ struct simplefb_format {
static struct simplefb_format simplefb_formats[] = {
{ "r5g6b5", 16, {11, 5}, {5, 6}, {0, 5}, {0, 0} },
+ { "a8b8g8r8", 32, {0, 8}, {8, 8}, {16, 8}, {24, 8} },
};
struct simplefb_params {