diff options
Diffstat (limited to 'chip/mt_scp/mt818x/config_chip.h')
-rw-r--r-- | chip/mt_scp/mt818x/config_chip.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chip/mt_scp/mt818x/config_chip.h b/chip/mt_scp/mt818x/config_chip.h index e0d7158728..e0222e33fa 100644 --- a/chip/mt_scp/mt818x/config_chip.h +++ b/chip/mt_scp/mt818x/config_chip.h @@ -1,4 +1,4 @@ -/* Copyright 2018 The Chromium OS Authors. All rights reserved. +/* Copyright 2018 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -10,10 +10,15 @@ /* Interval between HOOK_TICK notifications */ #define HOOK_TICK_INTERVAL_MS 500 -#define HOOK_TICK_INTERVAL (HOOK_TICK_INTERVAL_MS * MSEC) +#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 @@ -26,7 +31,7 @@ #define MAX_EINT_PORT (MAX_NUM_EINT / 32) /* RW only, no flash */ -#undef CONFIG_FW_INCLUDE_RO +#undef CONFIG_FW_INCLUDE_RO #define CONFIG_RO_MEM_OFF 0 #define CONFIG_RO_SIZE 0 #define CONFIG_RW_MEM_OFF 0 |