]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
lcd: atmel: move atmel-specific fb_put_word to atmel_lcdfb
authorNikita Kiryanov <nikita@compulab.co.il>
Tue, 3 Feb 2015 11:32:22 +0000 (13:32 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:39:10 +0000 (13:39 +0200)
commit1b1d33b7af8bb4a1fb2e33427876a0394e92a0d1
tree4efe949cc5f8d559b04252cea340c3548178b72b
parente0b9294e75cb09feae076044ebf47b3ec1664530
lcd: atmel: move atmel-specific fb_put_word to atmel_lcdfb

Reduce the amount of platform-specific code in common/lcd.c by moving Atmel
implementation of fb_put_word() to atmel_lcdfb.c. Since we must also have a
default implementation for everybody else, make the remainder of the code
into a weak function.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Josh Wu <josh.wu@atmel.com>
Cc: Bo Shen <voice.shen@atmel.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
common/lcd.c
drivers/video/atmel_lcdfb.c