x86: Add congatec conga-QA3/E3845-4G (Bay Trail) support
PATCH v2 1/1 x86: Add congatec conga-QA3/E3845-4G (Bay Trail) support
This patch adds support for the congatec conga-QA3/E3845-4G eMMC8 SoM, installed on the congatec Qseven 2.0 evaluation carrier board (conga-QEVAL).
Its port is very similar to the MinnowboardMAX port and also uses the Intel FSP as described in doc/README.x86.
Currently supported are the following interfaces / devices:
- UART (via Winbond legacy SuperIO chip on carrier board)
- Ethernet (PCIe Intel I210 / E1000)
- SPI including SPI NOR as boot-device
- USB 2.0
- SATA via U-Boot SCSI IF
- eMMC
- Video (HDMI output @ 800x600)
- PCIe
Not supported yet is:
- I2C
- USB 3.0
---
v2:
- Rebased on u-boot-x86/master
- Fixed spelling of Bay Trail in commit subject
- Removed unreferenced CONFIG_WINBOND from config header
- Moved Intel E1000 from config header to defconfig
arch/x86/Kconfig | 4 + arch/x86/dts/Makefile | 1 + arch/x86/dts/conga-qeval20-qa3-e3845.dts | 278 +++++++++++++++++++++ board/congatec/Kconfig | 29 +++ board/congatec/conga-qeval20-qa3-e3845/Kconfig | 28 +++ board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 7 + board/congatec/conga-qeval20-qa3-e3845/Makefile | 7 + .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 31 +++ board/congatec/conga-qeval20-qa3-e3845/start.S | 9 + configs/conga-qeval20-qa3-e3845_defconfig | 47 ++++ include/configs/conga-qeval20-qa3-e3845.h | 65 +++++ 11 files changed, 506 insertions(+) create mode 100644 arch/x86/dts/conga-qeval20-qa3-e3845.dts create mode 100644 board/congatec/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Makefile create mode 100644 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c create mode 100644 board/congatec/conga-qeval20-qa3-e3845/start.S create mode 100644 configs/conga-qeval20-qa3-e3845_defconfig create mode 100644 include/configs/conga-qeval20-qa3-e3845.h
arch/x86/Kconfig +4 -0
@@ -8,6 +8,9 @@ choice prompt "Mainboard vendor" default VENDOR_EMULATION +config VENDOR_CONGATEC + bool "congatec" + config VENDOR_COREBOOT bool "coreboot"
@@ -26,6 +29,7 @@ config VENDOR_INTEL endchoice # board-specific options below +source "board/congatec/Kconfig" source "board/coreboot/Kconfig" source "board/efi/Kconfig" source "board/emulation/Kconfig"
arch/x86/dts/Makefile +1 -0
@@ -5,6 +5,7 @@ dtb-y += bayleybay.dtb \ chromebook_link.dtb \ chromebox_panther.dtb \ + conga-qeval20-qa3-e3845.dtb \ cougarcanyon2.dtb \ crownbay.dtb \ efi.dtb \
arch/x86/dts/conga-qeval20-qa3-e3845.dts new file +278 -0
278 lines not on this page · raw message
board/congatec/Kconfig new file +29 -0
@@ -0,0 +1,29 @@ +# +# Copyright (C) 2015, Bin Meng <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +if VENDOR_CONGATEC + +choice + prompt "Mainboard model" + optional + +config TARGET_CONGA_QEVAL20_QA3_E3845 + bool "congatec QEVAL 2.0 & conga-QA3/E3845" + help + This is the congatec Qseven 2.0 evaluation carrier board + (conga-QEVAL) equipped with the conga-QA3/E3845-4G SoM. + It contains an Atom E3845 with Ethernet, micro-SD, USB 2, + USB 3, SATA, serial console and HDMI 1.3 video out. + It requires some binary blobs - see README.x86 for details. + + Note that PCIE_ECAM_BASE is set up by the FSP so the value used + by U-Boot matches that value. + +endchoice + +source "board/congatec/conga-qeval20-qa3-e3845/Kconfig" + +endif
board/congatec/conga-qeval20-qa3-e3845/Kconfig new file +28 -0
@@ -0,0 +1,28 @@ +if TARGET_CONGA_QEVAL20_QA3_E3845 + +config SYS_BOARD + default "conga-qeval20-qa3-e3845" + +config SYS_VENDOR + default "congatec" + +config SYS_SOC + default "baytrail" + +config SYS_CONFIG_NAME + default "conga-qeval20-qa3-e3845" + +config SYS_TEXT_BASE + default 0xfff00000 if !EFI_STUB + default 0x01110000 if EFI_STUB + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + select X86_RESET_VECTOR if !EFI_STUB + select INTEL_BAYTRAIL + select BOARD_ROMSIZE_KB_8192 + +config PCIE_ECAM_BASE + default 0xe0000000 + +endif
board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +congatec EVAL20-QA3-E3845 +M: Stefan Roese <[email protected]> +S: Maintained +F: board/congatec/conga-qeval20-qa3-e3845 +F: include/configs/conga-qeval20-qa3-e3845.h +F: configs/conga-qeval20-qa3-e3845_defconfig +F: arch/x86/dts/conga-qeval20-qa3-e3845.dts
board/congatec/conga-qeval20-qa3-e3845/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Copyright (C) 2015, Google, Inc +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y += conga-qeval20-qa3.o start.o
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Copyright (C) 2016 Stefan Roese <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#include <common.h> +#include <winbond_w83627.h> +#include <asm/gpio.h> +#include <asm/ibmpc.h> +#include <asm/pnp_def.h> + +int board_early_init_f (void ) +{ +/* +* The FSP enables the BayTrail internal legacy UART (again). +* Disable it again, so that the Winbond one can be used. +*/ +setup_internal_uart (0 ); + +/* 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 ); + +return 0 ; +} + +int arch_early_init_r (void ) +{ +return 0 ; +}
board/congatec/conga-qeval20-qa3-e3845/start.S new file +9 -0
@@ -0,0 +1,9 @@ +/* + * Copyright (C) 2015, Google, Inc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +.globl early_board_init +early_board_init: + jmp early_board_init_ret
configs/conga-qeval20-qa3-e3845_defconfig new file +47 -0
47 lines not on this page · raw message
include/configs/conga-qeval20-qa3-e3845.h new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.7.3
PATCH v2 1/1 x86: Add congatec conga-QA3/E3845-4G (Bay Trail) support
Quoted 44 lines · Stefan Roese
This patch adds support for the congatec conga-QA3/E3845-4G eMMC8 SoM, installed on the congatec Qseven 2.0 evaluation carrier board (conga-QEVAL).
Its port is very similar to the MinnowboardMAX port and also uses the Intel FSP as described in doc/README.x86.
Currently supported are the following interfaces / devices:
- UART (via Winbond legacy SuperIO chip on carrier board)
- Ethernet (PCIe Intel I210 / E1000)
- SPI including SPI NOR as boot-device
- USB 2.0
- SATA via U-Boot SCSI IF
- eMMC
- Video (HDMI output @ 800x600)
- PCIeNot supported yet is:
- I2C
- USB 3.0Signed-off-by Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Bin Meng <[email protected]>---
v2:
- Rebased on u-boot-x86/master
- Fixed spelling of Bay Trail in commit subject
- Removed unreferencedCONFIG_WINBONDfrom config header
- Moved Intel E1000 from config header to defconfigarch/x86/Kconfig | 4 + arch/x86/dts/Makefile | 1 + arch/x86/dts/conga-qeval20-qa3-e3845.dts | 278 +++++++++++++++++++++ board/congatec/Kconfig | 29 +++ board/congatec/conga-qeval20-qa3-e3845/Kconfig | 28 +++ board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 7 + board/congatec/conga-qeval20-qa3-e3845/Makefile | 7 + .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 31 +++ board/congatec/conga-qeval20-qa3-e3845/start.S | 9 + configs/conga-qeval20-qa3-e3845_defconfig | 47 ++++ include/configs/conga-qeval20-qa3-e3845.h | 65 +++++ 11 files changed, 506 insertions(+) create mode 100644 arch/x86/dts/conga-qeval20-qa3-e3845.dts
Quoted 9 lines
create mode 100644 board/congatec/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Makefile create mode 100644 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c create mode 100644 board/congatec/conga-qeval20-qa3-e3845/start.S create mode 100644 configs/conga-qeval20-qa3-e3845_defconfig create mode 100644 include/configs/conga-qeval20-qa3-e3845.h
PATCH v2 1/1 x86: Add congatec conga-QA3/E3845-4G (Bay Trail) support
Quoted 55 lines · Bin Meng
Quoted 44 lines · Stefan Roese
This patch adds support for the congatec conga-QA3/E3845-4G eMMC8 SoM, installed on the congatec Qseven 2.0 evaluation carrier board (conga-QEVAL).
Its port is very similar to the MinnowboardMAX port and also uses the Intel FSP as described in doc/README.x86.
Currently supported are the following interfaces / devices:
- UART (via Winbond legacy SuperIO chip on carrier board)
- Ethernet (PCIe Intel I210 / E1000)
- SPI including SPI NOR as boot-device
- USB 2.0
- SATA via U-Boot SCSI IF
- eMMC
- Video (HDMI output @ 800x600)
- PCIeNot supported yet is:
- I2C
- USB 3.0Signed-off-by Stefan Roese <[email protected]>Cc Simon Glass <[email protected]>Cc Bin Meng <[email protected]>---
v2:
- Rebased on u-boot-x86/master
- Fixed spelling of Bay Trail in commit subject
- Removed unreferencedCONFIG_WINBONDfrom config header
- Moved Intel E1000 from config header to defconfigarch/x86/Kconfig | 4 + arch/x86/dts/Makefile | 1 + arch/x86/dts/conga-qeval20-qa3-e3845.dts | 278 +++++++++++++++++++++ board/congatec/Kconfig | 29 +++ board/congatec/conga-qeval20-qa3-e3845/Kconfig | 28 +++ board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS | 7 + board/congatec/conga-qeval20-qa3-e3845/Makefile | 7 + .../conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 31 +++ board/congatec/conga-qeval20-qa3-e3845/start.S | 9 + configs/conga-qeval20-qa3-e3845_defconfig | 47 ++++ include/configs/conga-qeval20-qa3-e3845.h | 65 +++++ 11 files changed, 506 insertions(+) create mode 100644 arch/x86/dts/conga-qeval20-qa3-e3845.dtsQuoted 9 lines
create mode 100644 board/congatec/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Kconfig create mode 100644 board/congatec/conga-qeval20-qa3-e3845/MAINTAINERS create mode 100644 board/congatec/conga-qeval20-qa3-e3845/Makefile create mode 100644 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c create mode 100644 board/congatec/conga-qeval20-qa3-e3845/start.S create mode 100644 configs/conga-qeval20-qa3-e3845_defconfig create mode 100644 include/configs/conga-qeval20-qa3-e3845.h
Quoted 1 line
Reviewed-by Bin Meng <[email protected]>
rebased on top of Simon's broadwell patch series, and applied to u-boot-x86, thanks!