Skip to content

Commit c06202c

Browse files
fabiobaltierikartben
authored andcommitted
it82xx2_evb: drop PM symbols from the board config
PM, PM_DEVICE etc should be enabled by the application/samples, not the board. Add a config to default to custom policy for the board though since there's one defined at soc level. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent eb580eb commit c06202c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

boards/ite/it82xx2_evb/it82xx2_evb_defconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,3 @@ CONFIG_UART_CONSOLE=y
1818

1919
# GPIO Driver
2020
CONFIG_GPIO=y
21-
22-
# Power Management
23-
CONFIG_PM=y
24-
CONFIG_PM_DEVICE=y
25-
CONFIG_PM_POLICY_CUSTOM=y

soc/ite/ec/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ if SOC_FAMILY_ITE_EC
55

66
rsource "*/Kconfig.defconfig.series"
77

8+
choice PM_POLICY
9+
default PM_POLICY_CUSTOM if SOC_FAMILY_ITE_EC
10+
endchoice
11+
812
endif # SOC_FAMILY_ITE_EC

0 commit comments

Comments
 (0)