Skip to content

Commit

Permalink
drivers: jtag: npcm4xx: remove set tdo initial value
Browse files Browse the repository at this point in the history
remove set tdo initial value.

tdo set as gpio input, no need set initial value to avoid system assert.

Signed-off-by: cpchiang <[email protected]>
  • Loading branch information
cpchiang committed Sep 8, 2023
1 parent cb2c743 commit 42d3e13
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/jtag/jtag_npcm4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,6 @@ static int jtag_npcm4xx_init(const struct device *dev)
/* setup tdo */
flags = GPIO_INPUT;

if (config->gpio_tdo.flags & GPIO_ACTIVE_LOW)
flags |= GPIO_OUTPUT_INIT_HIGH;
else
flags |= GPIO_OUTPUT_INIT_LOW;

gpio_pin_configure(tdo_dev, tdo_pin, flags);

/* setup tms */
Expand Down

0 comments on commit 42d3e13

Please sign in to comment.