lcd: align fb writing address for horizontal display offset
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 11 Jan 2011 07:29:58 +0000 (15:29 +0800)
committerAnatolij Gustschin <agust@denx.de>
Wed, 26 Jan 2011 23:20:59 +0000 (00:20 +0100)
commit8d46d5b1864aa49830c58abfdd230c7224b83459
tree47bf74ec1f4b36cbd677a5833658afa2929d69e5
parent8aba9dceebb14144e07d19593111ee3a999c37fc
lcd: align fb writing address for horizontal display offset

CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display
offset for splashimage. The framebuffer writing address
should be calculated according to different kinds of
framebuffer pixel format, i.e., bits per pixel value.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
common/lcd.c