summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/start/start.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-12-11 14:49:49 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-01-04 13:44:56 -0600
commit607c85465dc1115a0b86ff1168db8c5f670e40a7 (patch)
tree71df682f5e91d8faeb5c08c94d97e2aa344f8a02 /c/src/lib/libbsp/i386/pc386/start/start.S
parentCorrect error return mismatches (diff)
downloadrtems-607c85465dc1115a0b86ff1168db8c5f670e40a7.tar.bz2
pc386: Add BSP_ENABLE_VGA BSP option
This allows the VGA and keyboard console to be completely disabled. It is useful on PCs without displays and prevents a very slow boot time on the Intel Edison.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/i386/pc386/start/start.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/start/start.S b/c/src/lib/libbsp/i386/pc386/start/start.S
index 48fe30b89a..51cd4711f0 100644
--- a/c/src/lib/libbsp/i386/pc386/start/start.S
+++ b/c/src/lib/libbsp/i386/pc386/start/start.S
@@ -198,6 +198,7 @@ SYM (zero_bss):
repne # while ecx != 0
stosl # clear a long in the bss
+#if BSP_ENABLE_VGA
/*-------------------------------------------------------------------+
| Initialize the video because zero_bss has cleared initVideo parameters
| if it was called earlier
@@ -208,6 +209,7 @@ SYM (zero_bss):
#if USE_VBE_RM
call vesa_realmode_bootup_init
#endif
+#endif
/*---------------------------------------------------------------------+
| Check CPU type. Enable Cache and init coprocessor if needed.