From patchwork Tue Aug 4 13:49:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 503610 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 51E0A1402E2 for ; Tue, 4 Aug 2015 23:55:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4FDE3A754E; Tue, 4 Aug 2015 15:55:47 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kdeVVMfnwSHG; Tue, 4 Aug 2015 15:55:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 953134BABC; Tue, 4 Aug 2015 15:55:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA42E4BABC for ; Tue, 4 Aug 2015 15:55:43 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RropL5jVIre6 for ; Tue, 4 Aug 2015 15:55:43 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by theia.denx.de (Postfix) with ESMTPS id 517504BA1F for ; Tue, 4 Aug 2015 15:55:39 +0200 (CEST) Received: from localhost.localdomain ([46.140.72.82]) by mrelay.perfora.net (mreueus002) with ESMTPSA (Nemesis) id 0Mgv7W-1Z9N5418Pg-00M0jL; Tue, 04 Aug 2015 15:50:06 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Tue, 4 Aug 2015 15:49:50 +0200 Message-Id: <41ffd2998a013e7ef2255c811c24d9a4efa722e5.1438695858.git.marcel.ziswiler@toradex.com> X-Mailer: git-send-email 2.4.3 X-Provags-ID: V03:K0:JGcF045FGOnzQFE2+FZ3ZPWBtQ8ETMujbLm9J8i9hW3xJLEPh6r zJTMHc20eXhEtr6i9iGtbLR5L3VDgZGuBrHTrAbA4frp4wxasiPeoNgSGmq1OwjKavQ5H8z dXj0wquVVHurER9qJ4QYCDbFXcZV6Sjd7sieXivhPMoK+hJEjVk90xf+1neAJV8z70XJnSx q2yJ5Bgmpi6sBUNKOYQLw== X-UI-Out-Filterresults: notjunk:1; V01:K0:DwcikUjSXrk=:gbd1b9H7t6RNcqPPtoxuXY fcTSPgDKVSqmbgApkxdjEqX/OMnGhcm29ielhTzfUUO33hfjhBfTyf5Po+HkK5npbKByNB+dI xWcrO97rUDmpfICLb5zTm/nRIFNf76Yd39DhZJU86BECq42VIfy3cMaWGw+3FVu4aFwpPpZwG NWIp9ERbOhpknEpqWn05H3fRZcn6a9LWuYsBOn5+wAgXXPQBgE9buS/fK5EuB47WE8qBBuOqn onnufsndwcKSuGjhkjQfmos666F3VO0EVQi2d7ZA6ggYrDyF/zCrqbIbgfy6ksZ0NYEwv+++Z kKHoWpo5WTldblORNg47YetHtqjqN98PaeP0lFAll8vweTnK5hIX0VLloKsXZm3BnPAxu/qHC zRJhNgs2FkvEm0AEDRtM49wtkWPuxPTG0QKw65lAMbF7RS5T4UEx2LT6osFQW0FwyVz4eAWNA GU6VnYNqL3ZtqXc5EwMcQ+yFMdMAZjHf08/3WrRrjc1gxTCIPjPn15b37jpfJ4bSATl3DB468 MPCPbOxtPCoINtX/+tDT3FsH8x4nH2mRnYRMdEpOmj0WDk84uIKCA1KvxTfFa/R8rldla+5a2 FstwP96ltm2gSOFFZoppZea+1CA/P5gi7ibB4CBf+EtzwZ1v3bAyjvk+/4NQsSUjTxc/p0dcv ywRi0XU2oDfARLJFCWOJunY0+ Cc: Tom Rini , Marcel Ziswiler Subject: [U-Boot] [RESEND PATCH] common/lcd_console: fix console/logo regression X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Marcel Ziswiler The following commit changed the order of the column vs. row parameter to the lcd_init_console() function but missed actually changing it as well the second time it is called from lcd_clear() which resulted in a garbled text console which this patch fixes. commit 604c7d4a5a3cf70949f6e6094bf0d52ee3b4804d common/lcd_console: introduce display/framebuffer rotation Tested on Colibri T20 with my latest assortment of tegra fixes/enhancements patch set. Signed-off-by: Marcel Ziswiler Acked-by: Simon Glass --- common/lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 5a52fe4..d29308a 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -234,8 +234,8 @@ void lcd_clear(void) lcd_logo(); #if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO) addr = (ulong)lcd_base + BMP_LOGO_HEIGHT * lcd_line_length; - lcd_init_console((void *)addr, panel_info.vl_row, - panel_info.vl_col, panel_info.vl_rot); + lcd_init_console((void *)addr, panel_info.vl_col, + panel_info.vl_row, panel_info.vl_rot); #endif lcd_sync(); }