From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Wed, 3 Jan 2018 12:31:58 +0100 Subject: [U-Boot] [PATCH 2/2] video: Support multiple lines version string display In-Reply-To: <1514877937-24144-2-git-send-email-peng.fan@nxp.com> References: <1514877937-24144-1-git-send-email-peng.fan@nxp.com> <1514877937-24144-2-git-send-email-peng.fan@nxp.com> Message-ID: <20180103123158.7497d726@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 Tue, 2 Jan 2018 15:25:37 +0800 Peng Fan peng.fan at nxp.com wrote: > The calculation of left space for version string is not correct, should > use VIDEO_COLS not VIDEO_LINE_LEN / 2, otherwise we will get larger space > than actual have and cause string to overlay logo picture. > > Also current version string display only supports two lines words at max. > This also causes overlay when the LCD pixel colume size is not enough. > > Signed-off-by: Peng Fan > --- > drivers/video/cfb_console.c | 30 +++++++++++++++++++++++------- > 1 file changed, 23 insertions(+), 7 deletions(-) applied to u-boot-video/master, thanks! -- Anatolij