diff options
author | Dino Li <dino.li@ite.com.tw> | 2015-09-18 10:40:38 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-17 23:52:32 -0700 |
commit | 62ea7121f85a793bed2792e3482bb1aa36d75b8d (patch) | |
tree | 44ab2ef7ff140ecd9519d037d0981e17aafb5f1d /include | |
parent | 574c8065710432f5a91fd8dd11d1fa28e2be1f3b (diff) | |
download | chrome-ec-62ea7121f85a793bed2792e3482bb1aa36d75b8d.tar.gz |
it8380dev: fix ec2i and uart
1. Host access to the PNPCFG registers is disabled.
2. UART2 for host if necessary.
Signed-off-by: Dino Li <dino.li@ite.com.tw>
BRANCH=none
BUG=none
TEST=1. host can't access the PNPCFG registers.
2. out I/O port 0x2f8 '0x30, 0x31, 0x32, 0x33, and 0x34'
will have console message '01234'.
Change-Id: If07bdc129105f5248661d929e6858d4063c452ee
Reviewed-on: https://chromium-review.googlesource.com/300266
Commit-Ready: Dino Li <dino.li@ite.com.tw>
Tested-by: Dino Li <dino.li@ite.com.tw>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 56bdbb0cd9..8cb9af0e79 100644 --- a/include/config.h +++ b/include/config.h @@ -1058,6 +1058,9 @@ /* Interrupt for PECI module. (IT839X series and IT838X DX only) */ #undef CONFIG_IT83XX_PECI_WITH_INTERRUPT +/* Allow the host access to the PNPCFG registers */ +#undef CONFIG_IT83XX_PNPCFG_HOST_ACCESS + /* To define it, if I2C channel C and PECI used at the same time. */ #undef CONFIG_IT83XX_SMCLK2_ON_GPC7 |