Skip to content

Commit

Permalink
board/riscv/it8xxx2_evb: Disable PM for ITE IT8XXX2
Browse files Browse the repository at this point in the history
The workqueue test may intermittently fail, with errors such as:

  work_1cpu_test_1cpu_system_schedule: (elapsed_ms <= max_ms is false)
  long 102 > 101

Disabling PM makes the issues go away, and it is what this patch does.

Signed-off-by: Ederson de Souza <[email protected]>
  • Loading branch information
edersondisouza authored and nashif committed Nov 2, 2023
1 parent 1e15949 commit 5f7d2f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 11 additions & 1 deletion boards/riscv/it8xxx2_evb/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@ if BOARD_IT8XXX2_EVB

config BOARD
default "it8xxx2_evb"
endif

if PM
config PM_DEVICE
default y

choice PM_POLICY
default PM_POLICY_CUSTOM
endchoice
endif # PM

endif # BOARD_IT8XXX2_EVB
4 changes: 0 additions & 4 deletions boards/riscv/it8xxx2_evb/it8xxx2_evb_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ CONFIG_INIT_STACKS=y
CONFIG_LINKER_ORPHAN_SECTION_PLACE=y
CONFIG_COMPILER_OPT="-mcmodel=medlow"
CONFIG_GPIO=y
# Power Management
CONFIG_PM=y
CONFIG_PM_DEVICE=y
CONFIG_PM_POLICY_CUSTOM=y

0 comments on commit 5f7d2f2

Please sign in to comment.