add splashimage positioning support
PATCH 1/1 add splashimage positioning support
This patch adds positioning support the video console's splashimage. The new feature must be enabled via CONFIG_SPLASH_SCREEN_ALIGN
Please see README for more details.
Signed-off-by Matthias Fuchs <[email protected]>
---
commit a2d4f0317552af68f86e8981aaef6c324bfbc157
tree 7229d0a193964b252f60ad1eff4c7af4ab71d94a
parent 98c440bee623ecdd5322852732b883e696fb2140
author Matthias Fuchs <[email protected]> Wed, 04 Jul 2007 12:09:27 +0200 committer Matthias Fuchs <[email protected]> Wed, 04 Jul 2007 12:09:27 +0200
README | 15 ++++++++ drivers/cfb_console.c | 92 ++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 98 insertions(+), 9 deletions(-)
README +15 -0
@@ -1047,6 +1047,21 @@ The following options need to be configu allows for a "silent" boot where a splash screen is loaded very quickly after power-on. + When CONFIG_SPLASH_SCREEN_ALIGN is additionally defined, + it is possible to align a small splashimage on a huge + display. This option extends the splashimage variable + syntax with an x and y position suffix. Beside absolute + positioning the characters 'l' (left), 'r' (right), + 't' (top), 'b' (bottom) and 'c' (center) are supported: + + splashimage=<address>[,<xpos>[,<pos>]] + + Example: + splashimage=fff00000,c,c + + This aligns our bitmap at address 0xfff00000 + vertically and horizontally. + - Gzip compressed BMP image support: CONFIG_VIDEO_BMP_GZIP If this option is set, additionally to standard BMP
drivers/cfb_console.c +83 -9
121 lines not on this page · raw message