[U-Boot] [PATCH] lcd: allow overriding lcd_get_size()
Anatolij Gustschin
agust at denx.de
Tue Nov 12 09:44:52 CET 2013
On Sat, 9 Nov 2013 11:00:09 +0100
Anatolij Gustschin <agust at denx.de> wrote:
> Remove the redundant lcd_line_length initialisation which
> sneaked in when an earlier version of the patch of commit
> 6d330719 has been rebased.
>
> Some lcd drivers need to setup lcd_line_length not from the
> panel_info parameters but by different means. Make the
> lcd_get_size() weak to allow setting lcd_line_length in
> a driver specific way.
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> ---
> common/lcd.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
applied to u-boot-video/master, thanks!
Anatolij
More information about the U-Boot
mailing list