All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART
@ 2016-06-15 12:15 Stefan Roese
  2016-06-15 12:47 ` Bin Meng
  2016-06-17  3:51 ` Simon Glass
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2016-06-15 12:15 UTC (permalink / raw)
  To: u-boot

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.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
---
 .../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

diff --git a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c
index 6a946d5..737e610 100644
--- a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c
+++ b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c
@@ -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;
 }
diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
new file mode 100644
index 0000000..26f83ba
--- /dev/null
+++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
@@ -0,0 +1,63 @@
+CONFIG_X86=y
+CONFIG_VENDOR_CONGATEC=y
+CONFIG_TARGET_CONGA_QEVAL20_QA3_E3845=y
+CONFIG_DEFAULT_DEVICE_TREE="conga-qeval20-qa3-e3845"
+CONFIG_INTERNAL_UART=y
+CONFIG_HAVE_INTEL_ME=y
+CONFIG_ENABLE_MRC_CACHE=y
+CONFIG_SMP=y
+CONFIG_HAVE_VGA_BIOS=y
+CONFIG_GENERATE_PIRQ_TABLE=y
+CONFIG_GENERATE_MP_TABLE=y
+CONFIG_GENERATE_ACPI_TABLE=y
+CONFIG_SEABIOS=y
+CONFIG_FIT=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_BOOTSTAGE=y
+CONFIG_BOOTSTAGE_REPORT=y
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_CPU=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_MMC=y
+CONFIG_CMD_SF=y
+CONFIG_CMD_SPI=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_GPIO=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_DHCP=y
+# CONFIG_CMD_NFS is not set
+CONFIG_CMD_PING=y
+CONFIG_CMD_TIME=y
+CONFIG_CMD_BOOTSTAGE=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
+CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_FAT=y
+CONFIG_CMD_FS_GENERIC=y
+CONFIG_OF_CONTROL=y
+CONFIG_REGMAP=y
+CONFIG_SYSCON=y
+CONFIG_CPU=y
+CONFIG_WINBOND_W83627=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
+CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_DM_ETH=y
+CONFIG_E1000=y
+CONFIG_DM_PCI=y
+CONFIG_DM_RTC=y
+CONFIG_DEBUG_UART=y
+CONFIG_DEBUG_UART_BASE=0x3f8
+CONFIG_DEBUG_UART_CLOCK=1843200
+CONFIG_SYS_NS16550=y
+CONFIG_ICH_SPI=y
+CONFIG_TIMER=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_VIDEO_VESA=y
+CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
+CONFIG_FRAMEBUFFER_VESA_MODE_114=y
+CONFIG_USE_PRIVATE_LIBGCC=y
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART
  2016-06-15 12:15 [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART Stefan Roese
@ 2016-06-15 12:47 ` Bin Meng
  2016-06-17  3:51 ` Simon Glass
  1 sibling, 0 replies; 4+ messages in thread
From: Bin Meng @ 2016-06-15 12:47 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 15, 2016 at 8:15 PM, Stefan Roese <sr@denx.de> wrote:
> 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.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
>  .../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
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART
  2016-06-15 12:15 [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART Stefan Roese
  2016-06-15 12:47 ` Bin Meng
@ 2016-06-17  3:51 ` Simon Glass
  2016-06-17  4:42   ` Bin Meng
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Glass @ 2016-06-17  3:51 UTC (permalink / raw)
  To: u-boot

On 15 June 2016 at 06:15, Stefan Roese <sr@denx.de> wrote:
> 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.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
>  .../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

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART
  2016-06-17  3:51 ` Simon Glass
@ 2016-06-17  4:42   ` Bin Meng
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2016-06-17  4:42 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 17, 2016 at 11:51 AM, Simon Glass <sjg@chromium.org> wrote:
> On 15 June 2016 at 06:15, Stefan Roese <sr@denx.de> wrote:
>> 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.
>>
>> Signed-off-by: Stefan Roese <sr@denx.de>
>> Cc: Bin Meng <bmeng.cn@gmail.com>
>> Cc: Simon Glass <sjg@chromium.org>
>> ---
>>  .../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
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-17  4:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 12:15 [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add support for internal UART Stefan Roese
2016-06-15 12:47 ` Bin Meng
2016-06-17  3:51 ` Simon Glass
2016-06-17  4:42   ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.