summaryrefslogtreecommitdiff
path: root/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-06-21 12:07:33 -0500
committerBin Meng <bmeng.cn@gmail.com>2016-07-12 13:46:01 +0800
commit215099a522dae18d4682964c6b850d12c45c98a0 (patch)
treeb460b5df29061bce47493069c176f1bfada2f1d5 /board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
parent3ff11aaa507aa222e76aa2517efc9786494994ed (diff)
x86: Add Advantech SOM-DB5800/SOM-6867 support
Add support for Advantech SOM-DB5800 with the SOM-6867 installed. This is very similar to conga-qeval20-qa3-e3845 in that there is a reference carrier board (SOM-DB5800) with a Baytrail based SoM (SOM-6867) installed. Currently supported: - 2x UART (From ITE EC on SOM-6867) routed to COM3/4 connectors on SOM-DB5800. - 4x USB 2.0 (EHCI) - Video - SATA - Ethernet - PCIe - Realtek ALC892 HD Audio Pad configuration for HDA_RSTB, HDA_SYNC, HDA_CLK, HDA_SDO HDA_SDI0 is set in DT to enable HD Audio codec. Pin defaults for codec pin complexs are not changed. Not supported: - Winbond Super I/O (Must be disabled with jumpers on SOM-DB8500) - USB 3.0 (XHCI) - TPM Signed-off-by: George McCollister <george.mccollister@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/advantech/som-db5800-som-6867/som-db5800-som-6867.c')
-rw-r--r--board/advantech/som-db5800-som-6867/som-db5800-som-6867.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
new file mode 100644
index 0000000000..5bed2c1146
--- /dev/null
+++ b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2016 Stefan Roese <sr@denx.de>
+ * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+
+int board_early_init_f(void)
+{
+ /*
+ * The FSP enables the BayTrail internal legacy UART (again).
+ * Disable it again, so that the one on the EC can be used.
+ */
+ setup_internal_uart(0);
+
+ return 0;
+}
+
+int arch_early_init_r(void)
+{
+ return 0;
+}