From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 7 Mar 2017 21:25:04 +0100 Subject: [U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures In-Reply-To: <1488762818-21115-1-git-send-email-andre.przywara@arm.com> References: <1488762818-21115-1-git-send-email-andre.przywara@arm.com> Message-ID: <20170307212504.3410a857@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 Mon, 6 Mar 2017 01:13:38 +0000 Andre Przywara andre.przywara at arm.com wrote: > "unsigned long" is a lousy data type when it comes to match peripheral > hardware registers with a fixed size. > Just do the obvious and match a 32-bit display format with an "u32" > data type for casting. > This fixes the logo display on 64-bit architectures, which produced > a black line on the right side of the logo with non-black backgrounds. > > Signed-off-by: Andre Przywara > --- > drivers/video/cfb_console.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) applied to u-boot-video/master. Thanks! -- Anatolij