summaryrefslogtreecommitdiff
path: root/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
diff options
context:
space:
mode:
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;
+}