diff options
author | Jun Lin <CHLin56@nuvoton.com> | 2021-05-03 16:11:17 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-27 02:18:44 +0000 |
commit | 6f586f1026232de04cbf11f7530b10983e65b8f5 (patch) | |
tree | 62a4dfe49443d136e3912f0e059cd80a7f760ec1 /chip/npcx/registers.h | |
parent | ebede7bc951cbaa75dc24bd66d8705ae62a6dab0 (diff) | |
download | chrome-ec-6f586f1026232de04cbf11f7530b10983e65b8f5.tar.gz |
npcx9: fix the workaround for unexpected JTAG selection
There is a workaround to disable the JTAG selection when the JTAG is
enabled unexpectedly by the strap pin. In npcx9, the register to control
the JTAG selection is different. This CL uses the correct register to
let the workaround work correctly.
BRANCH=none
BUG=b:165777478
TEST=pass "make buildall"; check the register is correctly configured;
check JTAG can be disabled when "CONFIG_ENABLE_JTAG_SELECTION" is not
defined and JEN strap pin is pulled down on npcx9_evb.
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Change-Id: Ic7a8a7d99335610cbacfb1de285cdd8fbda70848
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2867125
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'chip/npcx/registers.h')
-rw-r--r-- | chip/npcx/registers.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/npcx/registers.h b/chip/npcx/registers.h index aaf7f0477e..bacfe31982 100644 --- a/chip/npcx/registers.h +++ b/chip/npcx/registers.h @@ -456,8 +456,6 @@ enum { /* pin-mux for JTAG */ #define NPCX_DEVALT5_TRACE_EN 0 -#define NPCX_DEVALT5_NJEN1_EN 1 -#define NPCX_DEVALT5_NJEN0_EN 2 /* pin-mux for ADC */ #define NPCX_DEVALT6_ADC0_SL 0 |