]> git.dujemihanovic.xyz Git - u-boot.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)
committerAnatolij Gustschin <agust@denx.de>
Tue, 10 Feb 2015 12:25:56 +0000 (13:25 +0100)
commitb3d12e9bca1b23a537d77af2ae019cddc59f2031
treea2a3382d9493f795318f61cb6c6f5354f31bfe20
parent38b550877fd819ce7842b73530dcbacc098c9f0f
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