diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-04-22 01:45:11 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-04-22 01:45:11 +0000 |
commit | 6aca1e8b26e712d056816ba936fb4d5834a07467 (patch) | |
tree | b2a1336d6d32358d88db8743070a6105b00feb53 /src/include | |
parent | 3e4fb9d1a12c6a4b69702badc7223fec3b6e8ddb (diff) |
The UART divider should be calculated based on the base frequency
and baudrate, not hardcoded in addition to that.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/uart8250.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/uart8250.h b/src/include/uart8250.h index 3918bf1333..217558a8d5 100644 --- 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_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 |