summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2017-05-17 12:03:35 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-05-18 18:07:53 -0700
commit432f3f46869b011addeca306d8469d8a033088dd (patch)
treec4e60e0a98761879af9e8fe491a8f09c888a0048 /chip
parenta457573b0c588d617f4792680112182855e1dea3 (diff)
downloadchrome-ec-432f3f46869b011addeca306d8469d8a033088dd.tar.gz
it83xx: ec2i: move 'ec2i_setting' to header file of chip
This enum can be included in common. BUG=none BRANCH=none TEST=build boards: it83xx_evb and reef_it8320 Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: Id7014b7de170cb3324c45d43fbf04ebe48a69f5e Reviewed-on: https://chromium-review.googlesource.com/505864 Commit-Ready: Dino Li <Dino.Li@ite.com.tw> Tested-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/it83xx/ec2i_chip.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/chip/it83xx/ec2i_chip.h b/chip/it83xx/ec2i_chip.h
index 47417c050a..13102f6577 100644
--- a/chip/it83xx/ec2i_chip.h
+++ b/chip/it83xx/ec2i_chip.h
@@ -13,6 +13,50 @@
#define P80L_P80LC 0
#define P80L_BRAM_BANK1_SIZE_MASK 0x3F
+enum ec2i_setting {
+ EC2I_SET_KB_LDN,
+ EC2I_SET_KB_IRQ,
+ EC2I_SET_KB_ENABLE,
+ EC2I_SET_MOUSE_LDN,
+ EC2I_SET_MOUSE_IRQ,
+ EC2I_SET_MOUSE_ENABLE,
+ EC2I_SET_PMC1_LDN,
+ EC2I_SET_PMC1_IRQ,
+ EC2I_SET_PMC1_ENABLE,
+ EC2I_SET_PMC2_LDN,
+ EC2I_SET_PMC2_BASE0_MSB,
+ EC2I_SET_PMC2_BASE0_LSB,
+ EC2I_SET_PMC2_BASE1_MSB,
+ EC2I_SET_PMC2_BASE1_LSB,
+ EC2I_SET_PMC2_IRQ,
+ EC2I_SET_PMC2_ENABLE,
+ EC2I_SET_SMFI_LDN,
+ EC2I_SET_SMFI_H2RAM_IO_BASE,
+ EC2I_SET_SMFI_H2RAM_MAP_LPC_IO,
+ EC2I_SET_SMFI_ENABLE,
+ EC2I_SET_PMC3_LDN,
+ EC2I_SET_PMC3_BASE0_MSB,
+ EC2I_SET_PMC3_BASE0_LSB,
+ EC2I_SET_PMC3_BASE1_MSB,
+ EC2I_SET_PMC3_BASE1_LSB,
+ EC2I_SET_PMC3_IRQ,
+ EC2I_SET_PMC3_ENABLE,
+ EC2I_SET_RTCT_LDN,
+ EC2I_SET_RTCT_P80LB,
+ EC2I_SET_RTCT_P80LE,
+ EC2I_SET_RTCT_P80LC,
+#ifdef CONFIG_UART_HOST
+ EC2I_SET_UART2_LDN,
+ EC2I_SET_UART2_IO_BASE_MSB,
+ EC2I_SET_UART2_IO_BASE_LSB,
+ EC2I_SET_UART2_IRQ,
+ EC2I_SET_UART2_IRQ_TYPE,
+ EC2I_SET_UART2_ENABLE,
+#endif
+ /* Number of EC2I settings */
+ EC2I_SETTING_COUNT
+};
+
/* Index list of the host interface registers of PNPCFG */
enum host_pnpcfg_index {
/* Logical Device Number */