diff options
author | Dino Li <dino.li@ite.com.tw> | 2015-06-23 11:26:54 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-24 04:19:42 +0000 |
commit | c650a7391c655bd3394f0c2e68bd9f29f139dd31 (patch) | |
tree | 6a77470ea4d9b7dca973fdd43bb7e23dcae3d47e /chip/it83xx/irq.c | |
parent | cdcd824fa6f7b0a7b04ba9d7d9154aeee5938271 (diff) | |
download | chrome-ec-c650a7391c655bd3394f0c2e68bd9f29f139dd31.tar.gz |
it8380dev: add peci control modulestabilize-7204.B
Add peci control module for emulation board.
Signed-off-by: Dino Li <dino.li@ite.com.tw>
BRANCH=none
BUG=none
TEST=1. console command "pecitemp" get CPU temperature normally.
2. console command "peci" manual test peci commands.
(GetDIB, GetTemp, RdPkgConfig, and WrPkgConfig)
Change-Id: I48b63a391adf04f159adca401acb369a6acc3799
Reviewed-on: https://chromium-review.googlesource.com/265171
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Dino Li <dino.li@ite.com.tw>
Tested-by: Dino Li <dino.li@ite.com.tw>
Diffstat (limited to 'chip/it83xx/irq.c')
-rw-r--r-- | chip/it83xx/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/it83xx/irq.c b/chip/it83xx/irq.c index e65036ca22..1c8de0983e 100644 --- a/chip/it83xx/irq.c +++ b/chip/it83xx/irq.c @@ -18,7 +18,7 @@ static const struct { uint8_t isr_off; uint8_t ier_off; uint8_t cpu_int[8]; -} irq_groups[20] = { +} irq_groups[21] = { IRQ_GROUP(0, {-1, 2, 5, 4, 6, 2, 2, 4}), IRQ_GROUP(1, { 7, 6, 6, 5, 2, 2, 2, 8}), IRQ_GROUP(2, { 6, 2, 8, 8, 8, 2, 12, -1}), @@ -39,6 +39,7 @@ static const struct { IRQ_GROUP(17, {-1, -1, -1, -1, -1, -1, -1, -1}), IRQ_GROUP(18, { 2, 2, 2, 2, 2, 4, 4, 7}), IRQ_GROUP(19, { 6, 6, 12, 3, 3, 3, 3, 3}), + IRQ_GROUP(20, {12, 12, -1, -1, -1, -1, -1, -1}), }; int chip_enable_irq(int irq) |