diff options
author | Scott Worley <scott.worley@microchip.corp-partner.google.com> | 2020-12-19 10:43:14 -0500 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-10 02:27:49 +0000 |
commit | 772a612436fb2500037759ecd754833aed0363d9 (patch) | |
tree | 76cd4a60fc6d6c7ee46c90fa74bf66e0fdc5f879 /board/mchpevb1 | |
parent | 9cf67b7e5bc8ba1660569f30ae4fa8da1c1c2cd5 (diff) | |
download | chrome-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/mchpevb1')
-rw-r--r-- | board/mchpevb1/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/mchpevb1/board.h b/board/mchpevb1/board.h index 99cc39391f..25e12b2eb3 100644 --- a/board/mchpevb1/board.h +++ b/board/mchpevb1/board.h @@ -39,6 +39,10 @@ * #define CONFIG_MCHP_LFW_DEBUG */ +/* + * EC UART console on UART 0 or 1 + */ +#define CONFIG_UART_CONSOLE 0 /* * Override Boot-ROM JTAG mode |