The UART divider should be calculated based on the base frequency
[coreboot.git] / src / include / uart8250.h
index 3918bf1333f71502712e548c81f83cc89b9e6475..217558a8d50e1fc782d0c69d6f13ceeb9254b126 100644 (file)
 #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
-#define CONFIG_TTYS0_DIV       (115200/CONFIG_TTYS0_BAUD)
-#endif
 
 /* Line Control Settings */
 #ifndef CONFIG_TTYS0_LCS