Skip to content
Commit 3bd31aef authored by Mulin Chao's avatar Mulin Chao Committed by Anas Nashif
Browse files

pm: npcx: consider host wake-up features only if espi is selected.



This CL limits the compiler to consider the eSPI/LPC host wake-up
functions, such as npcx_host_disable_access_interrupt and
npcx_host_disable_access_interrupt, only if eSPI bus module is selected.
Otherwise, we will encounter compiler errors if the communication
between host and ec is via SPI, not eSPI/LPC bus.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent 5f5fb7d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment