[U-Boot] [PATCH 04/13] lcd: mpc8xx: move mpc823 specific fb_put_byte to mpc8xx_lcd.c

Simon Glass sjg at chromium.org
Sat Jan 31 01:24:33 CET 2015


On 29 January 2015 at 04:21, Nikita Kiryanov <nikita at compulab.co.il> wrote:
> Reduce the amount of platform dependant code in common/lcd.c by moving MPC823
> specific implementation of fb_put_byte() to mpc8xx_lcd.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 at compulab.co.il>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Anatolij Gustschin <agust at denx.de>
> ---
>  common/lcd.c               | 11 +++++------
>  drivers/video/mpc8xx_lcd.c |  7 +++++++
>  2 files changed, 12 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list