coreboot-kgpe-d16/src/drivers/uart
Lee Leahy 6ec72c9b4f drivers/uart: Use uart_platform_refclk for all UART models
Allow the platform to override the input clock for the UART by
implementing the routine uart_platform_refclk and setting the Kconfig
value UART_OVERRIDE_REFCLK.  Provide a default uart_platform_refclk
routine which is disabled when UART_OVERRIDE_REFCLK is selected.  This
works around ROMCC not supporting weak routines.

Testing on Galileo:
*  Edit the src/mainboard/intel/galileo/Makefile.inc file:
   *  Add "select ADD_FSP_PDAT_FILE"
   *  Add "select ADD_FSP_RAW_BIN"
   *  Add "select ADD_RMU_FILE"
*  Place the FSP.bin file in the location specified by CONFIG_FSP_FILE
*  Place the pdat.bin files in the location specified by
   CONFIG_FSP_PDAT_FILE
*  Place the rmu.bin file in the location specified by CONFIG_RMU_FILE
*  Build EDK2 CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc to generate
   UEFIPAYLOAD.fd
*  Testing is successful when CorebootPayloadPkg is able to properly
   initialize the serial port without using built-in values.

Change-Id: If4afc45a828e5ba935fecb6d95b239625e912d14
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/14612
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2016-05-09 18:45:44 +02:00
..
Kconfig drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
Makefile.inc */Makefile.inc: Compile files needed by uart8250 in x86 bootblock 2016-01-21 05:37:48 +01:00
oxpcie.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
oxpcie_early.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
pl011.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
uart8250io.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
uart8250mem.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
uart8250reg.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
util.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00