
6 Sep
2012
6 Sep
'12
8:55 p.m.
Hi,
On Thu, 6 Sep 2012 08:07:36 +0200 Bastian Ruppert Bastian.Ruppert@Sewerin.de wrote:
Extend the driver for placing the video/bmp logo as specified by "splashpos" environment variable.
Signed-off-by: Bastian Ruppert Bastian.Ruppert@Sewerin.de Signed-off-by: Anatolij Gustschin agust@denx.de CC: Tom Rini trini@ti.com CC: Stefano Babic sbabic@denx.de
v3:
- logo offset calculation is no longer based on BMP_ALIGN_CENTER if "m" specifier is used in splashpos
v2:
- remove some ifdefs
- revise commit log
- adjust video_logo_height by video_logo_ypos and thus fix return address for video console offset
- add BMP_ALIGN_CENTER case to logo_plot() for proper logo offset calculation if "m" specifier is used in splashpos
drivers/video/cfb_console.c | 93 +++++++++++++++++++++++++++++++----------- 1 files changed, 68 insertions(+), 25 deletions(-)
Acked-by: Anatolij Gustschin agust@denx.de
Thanks!