[coreboot-gerrit] Patch set updated for coreboot: OBSOLETE: soc/apollolake: Add uart_platform_refclk() for ramstage
Andrey Petrov (andrey.petrov@intel.com)
gerrit at coreboot.org
Fri Jan 29 07:25:06 CET 2016
Andrey Petrov (andrey.petrov at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13333
-gerrit
commit 01432d8010d822a7a33c63c96852f7d210a15f67
Author: Andrey Petrov <andrey.petrov at intel.com>
Date: Mon Nov 2 15:52:56 2015 -0800
OBSOLETE: soc/apollolake: Add uart_platform_refclk() for ramstage
Add uart_platform_refclk() so that it can be used in ramstage
Change-Id: I0ef9501f372f098601edd49658e875478d0f70e7
Signed-off-by: Andrey Petrov <andrey.petrov at intel.com>
---
src/soc/intel/apollolake/uart.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/soc/intel/apollolake/uart.c b/src/soc/intel/apollolake/uart.c
index 9663130..00bc45f 100644
--- a/src/soc/intel/apollolake/uart.c
+++ b/src/soc/intel/apollolake/uart.c
@@ -20,3 +20,9 @@ uintptr_t uart_platform_base(int idx)
{
return (CONFIG_CONSOLE_UART_BASE_ADDRESS);
}
+
+unsigned int uart_platform_refclk(void)
+{
+ /* That's within 0.5% of the actual value we've set earlier */
+ return 115200 * 16;
+}
More information about the coreboot-gerrit
mailing list