This patch adds support for the Kontron mAL10 COMe module with the Apollo Lake SoC together with Kontron T10-TNI carrierboard. Working: - UART console and I2C on Kontron kempld; - USB2/3 - Ethernet controller - eMMC - SATA - PCIe ports - IGD/DP - SMBus - HWM Not tested: - IGD/LVDS - SDIO TODO: - HDA (codec IDT 92HD73C1X5, currently disabled) Tested payloads: - SeaBIOS - Tianocore, UEFIPayload - without video, EFI-shell in console only Tested on COMe module with Intel Atom x5-E3940 processor (4 Core, 1.6/1.8GHz, 9.5W TDP). Xubuntu 18.04.2 was used as a bootable OS (5.0.0-32-generic linux kernel) Change-Id: Ib8432e10396f77eb05a71af1ccaaa4437a2e43ea Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39133 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
27 lines
523 B
C
27 lines
523 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <bootblock_common.h>
|
|
#include <intelblocks/lpc_lib.h>
|
|
#include <ec/kontron/kempld/kempld.h>
|
|
#include <variant/gpio.h>
|
|
|
|
static void init_cpld(void)
|
|
{
|
|
/* Set up LPC decoding for CPLD I/O port ranges */
|
|
lpc_open_pmio_window(0x0A80, 2);
|
|
|
|
/* Enable console serial ports */
|
|
lpc_io_setup_comm_a_b();
|
|
kempld_enable_uart_for_console();
|
|
}
|
|
|
|
void bootblock_mainboard_early_init(void)
|
|
{
|
|
variant_early_gpio_configure();
|
|
init_cpld();
|
|
}
|
|
|
|
void bootblock_mainboard_init(void)
|
|
{
|
|
}
|