video: Fix splash screen alignment
authorMatthias Weisser <weisserm@arcor.de>
Fri, 15 Feb 2013 03:35:12 +0000 (03:35 +0000)
committerAnatolij Gustschin <agust@denx.de>
Thu, 21 Mar 2013 09:55:24 +0000 (10:55 +0100)
commitacf3baad23586bcaf9af608b8c31949ab54e8338
treebb82c565d245692d544eced5e99ed9d7ea3d5ace
parent317461c1db97abef243964ae4c7cc7d3485ec73f
video: Fix splash screen alignment

commit d484b52 "video: Skip bitmaps which do not fit into the screen in
cfb_console" breaks splash screen alignment which is passed in as magic
(BMP_ALIGN_CENTER) x/y coordinates. Moving the check after the alignment block
fixes this.

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/video/cfb_console.c