On 14/05/08 10:08 -0600, Myles Watson wrote:
Reverse rows and columns on the video putc() function, and watch printf work again.
Signed-off-by: Jordan Crouse jordan.crouse@amd.com
Acked-by: Myles Watson mylesgw@gmail.com
r3316 (which also accidently included a fix to sample/hello.c, but it was a useful fix so I'm not sad it is there).
Thanks, Myles
Index: libpayload/drivers/video/video.c
--- libpayload.orig/drivers/video/video.c 2008-05-12
14:40:19.000000000 -
0600 +++ libpayload/drivers/video/video.c 2008-05-12 14:40:23.000000000 - 0600 @@ -126,14 +126,14 @@ case '\t': while(cursorx % 8 && cursorx < VIDEO_COLS) { if (console)
console->putc(cursorx, cursory, (ch &
0xFF00) | '
');
console->putc(cursory, cursorx, (ch &
0xFF00) | '
');
cursorx++; } break;
default: if (console)
console->putc(cursorx++, cursory, ch);
break; }console->putc(cursory, cursorx++, ch);
-- Jordan Crouse Systems Software Development Engineer Advanced Micro Devices, Inc.
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot