commit | 3bd31aefaed2843eb0616b0858d1b5fcc3cc70fb | [log] [tgz] |
---|---|---|
author | Mulin Chao <mlchao@nuvoton.com> | Sun May 09 19:25:39 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu May 13 12:35:43 2021 -0400 |
tree | fd15e3f94c0be5a60446f9b9a387e3ae675e4459 | |
parent | 5f5fb7d7925be3b40b4a963b11fb8b4cfedf03a1 [diff] |
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: Mulin Chao <mlchao@nuvoton.com>