diff options
author | Allen-kh Cheng <allen-kh.cheng@mediatek.corp-partner.google.com> | 2022-08-24 13:25:19 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-26 10:59:19 +0000 |
commit | 573bcf3ac69bc9e8a4bb79f3cf0bd4a6ea49026d (patch) | |
tree | a2a83a2c7af8320f510884ef0ce9d0f7a8f56f5b /chip | |
parent | 9fc7183f2d6e4928c8cb0ccace16a554645fb0bf (diff) | |
download | chrome-ec-573bcf3ac69bc9e8a4bb79f3cf0bd4a6ea49026d.tar.gz |
mtk_scp: Enable uart1 for mt8186
Enable uart1 for mt8186 scp.
BRANCH=none
BUG=b:218771968
TEST=Boot kukui scp and open cam ok
make BOARD=corsola_scp -j ALLOW_CONFIG=1
Signed-off-by: Allen-kh Cheng <allen-kh.cheng@mediatek.corp-partner.google.com>
Change-Id: Ib53ed293764727b33fe4e4a49abce451724fc689
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3853766
Reviewed-by: Wei-Shun Chang <weishunc@chromium.org>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Commit-Queue: Hsin-Yi Wang <hsinyi@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/mt_scp/mt818x/config_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/mt_scp/mt818x/config_chip.h b/chip/mt_scp/mt818x/config_chip.h index 87103a3069..2fa858a46b 100644 --- a/chip/mt_scp/mt818x/config_chip.h +++ b/chip/mt_scp/mt818x/config_chip.h @@ -12,8 +12,13 @@ #define HOOK_TICK_INTERVAL_MS 500 #define HOOK_TICK_INTERVAL (HOOK_TICK_INTERVAL_MS * MSEC) +#ifdef CHIP_VARIANT_MT8186 +/* Default to UART 1 (AP UART) for EC console */ +#define CONFIG_UART_CONSOLE 1 +#else /* Default to UART 2 (AP UART) for EC console */ #define CONFIG_UART_CONSOLE 2 +#endif /* Number of IRQ vectors */ #define CONFIG_IRQ_COUNT 56 |