diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-14 20:07:31 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-14 20:07:31 +0000 |
commit | 3148935557fb9f11922e989c1fb40d86d2628d34 (patch) | |
tree | 7bbdd42db909f9778294a4d2b4238c81607078e5 /payloads/libpayload/drivers | |
parent | f9b99450ce759587c3702afc3271e89c137cee11 (diff) |
libpayload: Fix the putc function
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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3316 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r-- | payloads/libpayload/drivers/video/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/video/video.c b/payloads/libpayload/drivers/video/video.c index 774493d175..3be98aa86d 100644 --- a/payloads/libpayload/drivers/video/video.c +++ b/payloads/libpayload/drivers/video/video.c @@ -126,14 +126,14 @@ void video_console_putchar(unsigned int ch) 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); + console->putc(cursory, cursorx++, ch); break; } |