Skip to contentSkip to conversation

x86: conga-qeval20-qa3: Add support for internal UART

PATCH New Stefan Roese 3 participants 4 messages Jun 15, 2016 – Jun 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: conga-qeval20-qa3: Add support for internal UART

This patch adds support to enable and use the internal BayTrail UART instead of the one integrated in the Super IO Winbond chip. For this, a 2nd defconfig file is added.

This is useful for tests done for the congatec SoM used on baseboards without such a Super IO chip.

---
 .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    |  2 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +2 -0
index 6a946d5..737e610 100644
@@ -12,6 +12,7 @@
 
 int board_early_init_f(void)
 {
+#ifndef CONFIG_INTERNAL_UART
 	/*
 	 * The FSP enables the BayTrail internal legacy UART (again).
 	 * Disable it again, so that the Winbond one can be used.
@@ -21,6 +22,7 @@ int board_early_init_f(void)
 	/* Enable the legacy UART in the Winbond W83627 Super IO chip */
 	winbond_enable_serial(PNP_DEV(WINBOND_IO_PORT, W83627DHG_SP1),
 			      UART0_BASE, UART0_IRQ);
+#endif
 
 	return 0;
 }
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig new file +63 -0

63 lines not on this page · raw message

Signature · 1 line
2.8.4
#1 lore raw

PATCH 1/1 x86: conga-qeval20-qa3: Add support for internal UART

Quoted 7 lines · Stefan Roese

This patch adds support to enable and use the internal BayTrail UART instead of the one integrated in the Super IO Winbond chip. For this, a 2nd defconfig file is added.

This is useful for tests done for the congatec SoM used on baseboards without such a Super IO chip.

Quoted 9 lines
---
 .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    |  2 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
#2 lore raw

PATCH 1/1 x86: conga-qeval20-qa3: Add support for internal UART

In reply to Stefan Roese
Quoted 7 lines · Stefan Roese

This patch adds support to enable and use the internal BayTrail UART instead of the one integrated in the Super IO Winbond chip. For this, a 2nd defconfig file is added.

This is useful for tests done for the congatec SoM used on baseboards without such a Super IO chip.

Quoted 8 lines
---
 .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    |  2 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
#3 lore raw

PATCH 1/1 x86: conga-qeval20-qa3: Add support for internal UART

Quoted 17 lines · Simon Glass
Quoted 7 lines · Stefan Roese

This patch adds support to enable and use the internal BayTrail UART instead of the one integrated in the Super IO Winbond chip. For this, a 2nd defconfig file is added.

This is useful for tests done for the congatec SoM used on baseboards without such a Super IO chip.

Quoted 8 lines
---
 .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c    |  2 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 63 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
Quoted 1 line

applied to u-boot-x86/next, thanks!