diff options
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r-- | src/soc/intel/apollolake/include/soc/uart.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/include/soc/uart.h b/src/soc/intel/apollolake/include/soc/uart.h index c7ba4a657a..b2b1bb8623 100644 --- a/src/soc/intel/apollolake/include/soc/uart.h +++ b/src/soc/intel/apollolake/include/soc/uart.h @@ -18,9 +18,14 @@ #ifndef _SOC_APOLLOLAKE_UART_H_ #define _SOC_APOLLOLAKE_UART_H_ -void lpss_console_uart_init(void); +/* +* M and N divisor values for clock frequency configuration. +* These values get us a 1.836 MHz clock (ideally we want 1.843 MHz) +*/ +#define CLK_M_VAL 0x025a +#define CLK_N_VAL 0x7fff /* Initialize the console UART including the pads for the configured UART. */ -void soc_console_uart_init(void); +void pch_uart_init(void); #endif /* _SOC_APOLLOLAKE_UART_H_ */ |