mb/google/volteer: Add non-ChromeOS TBMC support for 360/flip variants
The TBMC ACPI device is used by Windows ChromeEC drivers to determine tablet mode and to enable motion sensors (accelerometer, gyroscope). Since it's not needed/used by ChromeOS, restrict its inclusion to non-ChromeOS builds. TEST=build/boot Win11/Linux on eldrid, verify tablet mode and rotation work properly, keyboard/touchpad disabled in tablet mode. Change-Id: I65832388649daceb498c91e6405d2b8343ca2aeb Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91801 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
parent
f867d8f76b
commit
79c98cca80
6 changed files with 30 additions and 0 deletions
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
#include <baseboard/ec.h>
|
||||
|
||||
/* Enable Tablet switch for Windows drivers */
|
||||
#if !CONFIG(CHROMEOS)
|
||||
#define EC_ENABLE_TBMC_DEVICE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue