From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 12 Nov 2013 09:44:52 +0100 Subject: [U-Boot] [PATCH] lcd: allow overriding lcd_get_size() In-Reply-To: <1383991209-2862-1-git-send-email-agust@denx.de> References: <1382637641-1919-1-git-send-email-a.heider@gmail.com> <1383991209-2862-1-git-send-email-agust@denx.de> Message-ID: <20131112094452.35a4a19a@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 9 Nov 2013 11:00:09 +0100 Anatolij Gustschin 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 > Cc: Stephen Warren > --- > common/lcd.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) applied to u-boot-video/master, thanks! Anatolij