From: DENX Support System Date: Mon, 16 Apr 2007 19:10:04 +0200 Subject: [U-Boot-Users] [DNX#2007041642000023] [PATCH] VIDEO_FB_LITTLE_ENDIAN name confusion Message-ID: <1176743404.554627.447686954@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2007041642000023] was created: > I've noticed that VIDEO_FB_LITTLE_ENDIAN in drivers/cfb_console.c is > not really well named. What it does is swap bytes around if the frame > buffer has a /different/ endianness from the host. If you start with > a little endian host and frame buffer and define > VIDEO_FB_LITTLE_ENDIAN the drawn colors get incorrectly byte swapped. > > the attached patch changes VIDEO_FB_LITTLE_ENDIAN to > VIDEO_FB_OTHER_ENDIAN to make it clearer what it does. > > Signed-off-by: Andrew Dyer > > -- > Hardware, n.: > The parts of a computer system that can be kicked. Your U-Boot support team