summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid W. Hendricks <dwh@lanl.gov>2004-05-24 17:14:21 +0000
committerDavid W. Hendricks <dwh@lanl.gov>2004-05-24 17:14:21 +0000
commitc8ccf8ac0a1ff08e2494588a235462e56eb7b36a (patch)
tree8a26a530f6db46601bea1aac5d1592d73ebbe32e
parent2e6d1c9fe04d2885799f5740c45174ee192ddc95 (diff)
downloadcoreboot-c8ccf8ac0a1ff08e2494588a235462e56eb7b36a.tar.xz
Definition fixed by Ollie
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1566 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/console/font-8x16.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/console/font-8x16.c b/src/console/font-8x16.c
index 682a01e8c4..9404ffe809 100644
--- a/src/console/font-8x16.c
+++ b/src/console/font-8x16.c
@@ -5,8 +5,15 @@
/* */
/**********************************************/
+#define CHAR_256 0
-static unsigned char vga_font[cmapsz] BTDATA = {
+#if CHAR_256==1
+#define cmapsz (16*256)
+#else
+#define cmapsz (16*96)
+#endif
+
+static unsigned char vga_font[cmapsz] = {
#if CHAR_256==1
/* 0 0x00 '^@' */
0x00, /* 00000000 */