diff options
author | Ulf Jordan <jordan@chalmers.se> | 2008-08-18 19:29:41 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-08-18 19:29:41 +0000 |
commit | 2aea11f57f3163ef12e71074eaaaaf4cb566836a (patch) | |
tree | d3453f9751700c248003bbc6b6e9042d930d92a8 /payloads/libpayload/curses/tinycurses.c | |
parent | 364317b1991cf5daa08ad3ce4e52e735c9789987 (diff) |
Add a kconfig option to choose between outputing ACS characters or
their plain ASCII fallbacks over serial console.
Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/curses/tinycurses.c')
-rw-r--r-- | payloads/libpayload/curses/tinycurses.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/curses/tinycurses.c b/payloads/libpayload/curses/tinycurses.c index c901ff66b0..16e06ec473 100644 --- a/payloads/libpayload/curses/tinycurses.c +++ b/payloads/libpayload/curses/tinycurses.c @@ -110,6 +110,9 @@ chtype fallback_acs_map[128] = '|', '<', '>', '*', '!', 'f', 'o', ' ', }; +#ifdef CONFIG_SERIAL_ACS_FALLBACK +chtype serial_acs_map[128]; +#else /* See acsc of vt100. */ chtype serial_acs_map[128] = { @@ -130,6 +133,7 @@ chtype serial_acs_map[128] = 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~', 0, }; +#endif /* See acsc of linux. */ chtype console_acs_map[128] = |