summaryrefslogtreecommitdiff
path: root/board/reef_mchp
diff options
context:
space:
mode:
authorScott Worley <scott.worley@microchip.corp-partner.google.com>2020-12-19 10:43:14 -0500
committerCommit Bot <commit-bot@chromium.org>2021-02-10 02:27:49 +0000
commit772a612436fb2500037759ecd754833aed0363d9 (patch)
tree76cd4a60fc6d6c7ee46c90fa74bf66e0fdc5f879 /board/reef_mchp
parent9cf67b7e5bc8ba1660569f30ae4fa8da1c1c2cd5 (diff)
downloadchrome-ec-772a612436fb2500037759ecd754833aed0363d9.tar.gz
mchp: Support any chip UART for EC console
MEC170X and MEC152X have two and three UART's respectively. Add board level EC console selection configuration item. Add chip level support for using the selected UART in both main EC and little-firmware EC code. BRANCH=none BUG=b:177463787 TEST=Booted skylake RVP to Chrome OS Signed-off-by: Scott Worley <scott.worley@microchip.corp-partner.google.com> Change-Id: I3446d4683bff9cea73d5881ef909cb2f5cd1ebaa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2601207 Reviewed-by: Ravin Kumar <ravin.kumar@microchip.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Ravin Kumar <ravin.kumar@microchip.com>
Diffstat (limited to 'board/reef_mchp')
-rw-r--r--board/reef_mchp/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/reef_mchp/board.h b/board/reef_mchp/board.h
index eb5e4b8a05..01ec4aa79c 100644
--- a/board/reef_mchp/board.h
+++ b/board/reef_mchp/board.h
@@ -16,6 +16,8 @@
#undef CONFIG_HOSTCMD_DEBUG_MODE
#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF
+/* EC console on UART 0 */
+#define CONFIG_UART_CONSOLE 0
/* EC console commands */
#define CONFIG_CMD_ACCELS