VIDEO_FB_LITTLE_ENDIAN name [...]
PATCH 1/1 VIDEO_FB_LITTLE_ENDIAN name [...]
Hello list,
inside the automatic U-Boot patch tracking system a new ticket [DNX#2007041742000012] was created:
<snip>
Quoted 7 lines · Andrew Dyer
Quoted 5 lines
I've noticed that
VIDEO_FB_LITTLE_ENDIANindrivers/cfb_console.cis 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 defineVIDEO_FB_LITTLE_ENDIANthe drawn colors get incorrectly byte swapped.
Quoted 15 lines
I think that the right thing to do is to avoid that the byte are swapped if the CPU and framebuffer endianess are the same.
However the patchg reduces possible misunderstanding...
Ciao,
Rodolfo
Signature · 4 lines
GNU/Linux Solutions e-mail: giometti at enneenne.com Linux Device Driver giometti at gnudd.com Embedded Systems giometti at linux.it UNIX programming phone: +39 349 2432127
</snip>
Your U-Boot support team