[U-Boot] [PATCH] lcd: allow overriding lcd_get_size()

Anatolij Gustschin
2013-11-12T08:44:52Z

On Sat, 9 Nov 2013 11:00:09 +0100
Anatolij Gustschin <agust@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@denx.de>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> ---
> common/lcd.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)

applied to u-boot-video/master, thanks!

Anatolij