Skip to content

Commit

Permalink
drivers: ps2: Compile out PS/2 in terms of an eSPI peripheral
Browse files Browse the repository at this point in the history
Add the possibility to compile out the PS/2 driver if
the application is not using the KBC 8042 peripheral. This
helps to remove warnings for unused PS/2 isr function

Signed-off-by: Francisco Munoz <[email protected]>
  • Loading branch information
franciscomunoz authored and nashif committed Nov 20, 2019
1 parent 11c7e5a commit 377aa87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/ps2/Kconfig.xec
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

menuconfig PS2_XEC
bool "XEC Microchip PS2 driver"
depends on SOC_FAMILY_MEC
depends on SOC_FAMILY_MEC && ESPI_PERIPHERAL_8042_KBC
help
Enable the Microchip XEC PS2 IO driver.
Enable the Microchip XEC PS2 IO driver. The driver also
depends on the KBC 8042 keyboard controller.

if PS2_XEC

Expand Down

0 comments on commit 377aa87

Please sign in to comment.