summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-02-25 16:29:39 -0700
committerCommit Bot <commit-bot@chromium.org>2020-02-27 19:42:26 +0000
commitd98339ecc037bcd4c6a0675058e56ea059a69710 (patch)
tree19b579d1f7090e9bfe4256eb0d0c9ef76c2f7db6 /chip
parent0dff5a752b3796c73bf29919d7d13f03204bc0f3 (diff)
downloadchrome-ec-d98339ecc037bcd4c6a0675058e56ea059a69710.tar.gz
chip/npcx/lpc: Don't enable Output Buffer Empty by default
OBE is enabled by lpc_keyboard_put_char and lpc_mouse_put_char and the disabled by lpc_kbc_obe_interrupt. No reason to enable the interrupt on initialization. BUG=b:145575366 BRANCH=none TEST=Verified OBE interrupt still fires. Change-Id: Iba3f97b2bf4a6c5f09833f808c52901bd8406b4f Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2073282 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/npcx/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/lpc.c b/chip/npcx/lpc.c
index 672e1154a5..1bcb5571b1 100644
--- a/chip/npcx/lpc.c
+++ b/chip/npcx/lpc.c
@@ -793,12 +793,12 @@ static void lpc_init(void)
/*
* Init KBC
* Clear OBF status flag,
- * IBF(K&M) INT enable, OBE(K&M) empty INT enable ,
+ * IBF(K&M) INT enable,
* OBF Mouse Full INT enable and OBF KB Full INT enable
*/
#ifdef HAS_TASK_KEYPROTO
lpc_keyboard_clear_buffer();
- NPCX_HICTRL = 0x0F;
+ NPCX_HICTRL = 0x0B;
#endif
/*