projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The UART divider should be calculated based on the base frequency
[coreboot.git]
/
src
/
include
/
uart8250.h
diff --git
a/src/include/uart8250.h
b/src/include/uart8250.h
index 3918bf1333f71502712e548c81f83cc89b9e6475..217558a8d50e1fc782d0c69d6f13ceeb9254b126 100644
(file)
--- a/
src/include/uart8250.h
+++ b/
src/include/uart8250.h
@@
-28,13
+28,9
@@
#ifndef CONFIG_TTYS0_BAUD
#define CONFIG_TTYS0_BAUD 115200
#endif
#ifndef CONFIG_TTYS0_BAUD
#define CONFIG_TTYS0_BAUD 115200
#endif
-
-#ifndef CONFIG_TTYS0_DIV
#if ((115200%CONFIG_TTYS0_BAUD) != 0)
#error Bad ttys0 baud rate
#endif
#if ((115200%CONFIG_TTYS0_BAUD) != 0)
#error Bad ttys0 baud rate
#endif
-#define CONFIG_TTYS0_DIV (115200/CONFIG_TTYS0_BAUD)
-#endif
/* Line Control Settings */
#ifndef CONFIG_TTYS0_LCS
/* Line Control Settings */
#ifndef CONFIG_TTYS0_LCS