Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0)
This commit is contained in:
@@ -83,10 +83,16 @@ PUBLIC void cstart(
|
||||
system_hz = atoi(value);
|
||||
if(!value || system_hz < 2 || system_hz > 50000) /* sanity check */
|
||||
system_hz = DEFAULT_HZ;
|
||||
|
||||
/* Intitialize serial debugging */
|
||||
value = env_get(SERVARNAME);
|
||||
if(value && atoi(value) == 0)
|
||||
if(value && atoi(value) == 0) {
|
||||
do_serial_debug=1;
|
||||
|
||||
value = env_get(SERBAUDVARNAME);
|
||||
if (value) serial_debug_baud = atoi(value);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_APIC
|
||||
value = env_get("no_apic");
|
||||
if(value)
|
||||
|
||||
Reference in New Issue
Block a user