From fd56eff188e492c1b2742c20bf124e8b0e940d80 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 27 Aug 2024 07:47:09 -0600 Subject: [PATCH] Add config for host platform Introduce a new config to determine the host platform and use it to conditionally include power sequence logic. Signed-off-by: Tim Crawford --- src/board/system76/addw1/board.mk | 3 +++ src/board/system76/addw2/board.mk | 3 +++ src/board/system76/addw3/board.mk | 3 ++- src/board/system76/addw4/board.mk | 3 ++- src/board/system76/bonw14/board.mk | 3 +++ src/board/system76/bonw15-b/board.mk | 3 ++- src/board/system76/bonw15/board.mk | 5 +++-- src/board/system76/common/common.mk | 8 +++++++- src/board/system76/common/{power.c => power/intel.c} | 0 src/board/system76/darp10-b/board.mk | 3 ++- src/board/system76/darp10/board.mk | 3 ++- src/board/system76/darp5/board.mk | 3 +++ src/board/system76/darp6/board.mk | 3 +++ src/board/system76/darp7/board.mk | 5 +++-- src/board/system76/darp8/board.mk | 5 +++-- src/board/system76/darp9/board.mk | 5 +++-- src/board/system76/galp3-c/board.mk | 3 +++ src/board/system76/galp4/board.mk | 3 +++ src/board/system76/galp5/board.mk | 5 +++-- src/board/system76/galp6/board.mk | 5 +++-- src/board/system76/galp7/board.mk | 5 +++-- src/board/system76/gaze15/board.mk | 3 +++ src/board/system76/gaze16-3050/board.mk | 5 +++-- src/board/system76/gaze16-3060-b/board.mk | 5 +++-- src/board/system76/gaze16-3060/board.mk | 5 +++-- src/board/system76/gaze17-3050/board.mk | 5 +++-- src/board/system76/gaze17-3060-b/board.mk | 5 +++-- src/board/system76/gaze17-3060/board.mk | 5 +++-- src/board/system76/gaze18/board.mk | 5 +++-- src/board/system76/lemp10/board.mk | 5 +++-- src/board/system76/lemp11/board.mk | 5 +++-- src/board/system76/lemp12/board.mk | 5 +++-- src/board/system76/lemp13-b/board.mk | 5 +++-- src/board/system76/lemp13/board.mk | 5 +++-- src/board/system76/lemp9/board.mk | 3 +++ src/board/system76/oryp10/board.mk | 5 +++-- src/board/system76/oryp11/board.mk | 8 ++++---- src/board/system76/oryp12/board.mk | 3 ++- src/board/system76/oryp5/board.mk | 3 +++ src/board/system76/oryp6/board.mk | 3 +++ src/board/system76/oryp7/board.mk | 3 +++ src/board/system76/oryp8/board.mk | 5 +++-- src/board/system76/oryp9/board.mk | 5 +++-- src/board/system76/serw13/board.mk | 5 +++-- 44 files changed, 128 insertions(+), 57 deletions(-) rename src/board/system76/common/{power.c => power/intel.c} (100%) diff --git a/src/board/system76/addw1/board.mk b/src/board/system76/addw1/board.mk index f337d40f5..9f0e94751 100644 --- a/src/board/system76/addw1/board.mk +++ b/src/board/system76/addw1/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/addw2/board.mk b/src/board/system76/addw2/board.mk index 98b41ff3a..c2519c64e 100644 --- a/src/board/system76/addw2/board.mk +++ b/src/board/system76/addw2/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/addw3/board.mk b/src/board/system76/addw3/board.mk index 264499ec7..1884df588 100644 --- a/src/board/system76/addw3/board.mk +++ b/src/board/system76/addw3/board.mk @@ -7,7 +7,8 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI=y # Enable firmware security diff --git a/src/board/system76/addw4/board.mk b/src/board/system76/addw4/board.mk index 897624536..3f7573b3b 100644 --- a/src/board/system76/addw4/board.mk +++ b/src/board/system76/addw4/board.mk @@ -7,7 +7,8 @@ EC = ite CONFIG_EC_ITE_IT5570E = y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI = y CONFIG_PECI_OVER_ESPI = y diff --git a/src/board/system76/bonw14/board.mk b/src/board/system76/bonw14/board.mk index dadf0066a..d6b118cd3 100644 --- a/src/board/system76/bonw14/board.mk +++ b/src/board/system76/bonw14/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102_nkey diff --git a/src/board/system76/bonw15-b/board.mk b/src/board/system76/bonw15-b/board.mk index f4467ce19..a054c3507 100644 --- a/src/board/system76/bonw15-b/board.mk +++ b/src/board/system76/bonw15-b/board.mk @@ -10,7 +10,8 @@ EC = ite CONFIG_EC_ITE_IT5570E = y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI = y # Enable firmware security diff --git a/src/board/system76/bonw15/board.mk b/src/board/system76/bonw15/board.mk index 6ef4b761a..260b3c6c9 100644 --- a/src/board/system76/bonw15/board.mk +++ b/src/board/system76/bonw15/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/common/common.mk b/src/board/system76/common/common.mk index 4a25c9a4a..30167a885 100644 --- a/src/board/system76/common/common.mk +++ b/src/board/system76/common/common.mk @@ -17,7 +17,6 @@ board-common-y += parallel.c board-common-y += peci.c board-common-y += pmc.c board-common-y += pnp.c -board-common-y += power.c board-common-y += ps2.c board-common-y += pwm.c board-common-y += scratch.c @@ -42,6 +41,13 @@ CFLAGS+=-DLEVEL=4 # Uncomment to enable I2C debug on 0x76 #CFLAGS+=-DI2C_DEBUGGER=0x76 +ifeq ($(CONFIG_PLATFORM_INTEL),y) +board-common-y += power/intel.c +CFLAGS += -DCONFIG_PLATFORM_INTEL=1 +else +$(error PLATFORM not specified) +endif + ifeq ($(CONFIG_SECURITY),y) CFLAGS+=-DCONFIG_SECURITY=1 endif diff --git a/src/board/system76/common/power.c b/src/board/system76/common/power/intel.c similarity index 100% rename from src/board/system76/common/power.c rename to src/board/system76/common/power/intel.c diff --git a/src/board/system76/darp10-b/board.mk b/src/board/system76/darp10-b/board.mk index 5ce738c9c..466886b74 100644 --- a/src/board/system76/darp10-b/board.mk +++ b/src/board/system76/darp10-b/board.mk @@ -7,7 +7,8 @@ EC = ite CONFIG_EC_ITE_IT5570E = y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI = y # Enable firmware security diff --git a/src/board/system76/darp10/board.mk b/src/board/system76/darp10/board.mk index 01dd7cd61..75c09aaf6 100644 --- a/src/board/system76/darp10/board.mk +++ b/src/board/system76/darp10/board.mk @@ -7,7 +7,8 @@ EC = ite CONFIG_EC_ITE_IT5570E = y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI = y # Enable firmware security diff --git a/src/board/system76/darp5/board.mk b/src/board/system76/darp5/board.mk index a53a2adab..8c9c35181 100644 --- a/src/board/system76/darp5/board.mk +++ b/src/board/system76/darp5/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/darp6/board.mk b/src/board/system76/darp6/board.mk index f68b5f55d..776f80980 100644 --- a/src/board/system76/darp6/board.mk +++ b/src/board/system76/darp6/board.mk @@ -10,6 +10,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/darp7/board.mk b/src/board/system76/darp7/board.mk index 41d3ca8de..cc8aa50e3 100644 --- a/src/board/system76/darp7/board.mk +++ b/src/board/system76/darp7/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/darp8/board.mk b/src/board/system76/darp8/board.mk index a23351ce8..4a7960512 100644 --- a/src/board/system76/darp8/board.mk +++ b/src/board/system76/darp8/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/darp9/board.mk b/src/board/system76/darp9/board.mk index bf1da6e9d..f40ab5a1d 100644 --- a/src/board/system76/darp9/board.mk +++ b/src/board/system76/darp9/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/galp3-c/board.mk b/src/board/system76/galp3-c/board.mk index 2ab9d5769..b75dd7ad8 100644 --- a/src/board/system76/galp3-c/board.mk +++ b/src/board/system76/galp3-c/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=14in_86 diff --git a/src/board/system76/galp4/board.mk b/src/board/system76/galp4/board.mk index 67dda9b41..efdcd7c02 100644 --- a/src/board/system76/galp4/board.mk +++ b/src/board/system76/galp4/board.mk @@ -10,6 +10,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=14in_86 diff --git a/src/board/system76/galp5/board.mk b/src/board/system76/galp5/board.mk index 9fc38b6a5..8ac1eaf88 100644 --- a/src/board/system76/galp5/board.mk +++ b/src/board/system76/galp5/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=14in_83 diff --git a/src/board/system76/galp6/board.mk b/src/board/system76/galp6/board.mk index 4fdf5de53..5d408012c 100644 --- a/src/board/system76/galp6/board.mk +++ b/src/board/system76/galp6/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/galp7/board.mk b/src/board/system76/galp7/board.mk index 074bbcf0b..4f73c3df0 100644 --- a/src/board/system76/galp7/board.mk +++ b/src/board/system76/galp7/board.mk @@ -10,8 +10,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/gaze15/board.mk b/src/board/system76/gaze15/board.mk index 4506b0e8a..a971de33c 100644 --- a/src/board/system76/gaze15/board.mk +++ b/src/board/system76/gaze15/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze16-3050/board.mk b/src/board/system76/gaze16-3050/board.mk index 730676a4f..91c722697 100644 --- a/src/board/system76/gaze16-3050/board.mk +++ b/src/board/system76/gaze16-3050/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze16-3060-b/board.mk b/src/board/system76/gaze16-3060-b/board.mk index 9b96f007a..194163223 100644 --- a/src/board/system76/gaze16-3060-b/board.mk +++ b/src/board/system76/gaze16-3060-b/board.mk @@ -10,8 +10,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze16-3060/board.mk b/src/board/system76/gaze16-3060/board.mk index 59825d935..74fd6cb0d 100644 --- a/src/board/system76/gaze16-3060/board.mk +++ b/src/board/system76/gaze16-3060/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze17-3050/board.mk b/src/board/system76/gaze17-3050/board.mk index 85c31800a..2201725a3 100644 --- a/src/board/system76/gaze17-3050/board.mk +++ b/src/board/system76/gaze17-3050/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze17-3060-b/board.mk b/src/board/system76/gaze17-3060-b/board.mk index 5bab43714..31bb08648 100644 --- a/src/board/system76/gaze17-3060-b/board.mk +++ b/src/board/system76/gaze17-3060-b/board.mk @@ -10,8 +10,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze17-3060/board.mk b/src/board/system76/gaze17-3060/board.mk index 05b4df52e..2e4ce1277 100644 --- a/src/board/system76/gaze17-3060/board.mk +++ b/src/board/system76/gaze17-3060/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/gaze18/board.mk b/src/board/system76/gaze18/board.mk index 7bbdbd96a..9d2875b95 100644 --- a/src/board/system76/gaze18/board.mk +++ b/src/board/system76/gaze18/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/lemp10/board.mk b/src/board/system76/lemp10/board.mk index 1ad67c98f..55ab6b49d 100644 --- a/src/board/system76/lemp10/board.mk +++ b/src/board/system76/lemp10/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=14in_83 diff --git a/src/board/system76/lemp11/board.mk b/src/board/system76/lemp11/board.mk index 63525e4c8..cfa7c2de5 100644 --- a/src/board/system76/lemp11/board.mk +++ b/src/board/system76/lemp11/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=14in_83 diff --git a/src/board/system76/lemp12/board.mk b/src/board/system76/lemp12/board.mk index b60c25af3..78071325d 100644 --- a/src/board/system76/lemp12/board.mk +++ b/src/board/system76/lemp12/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/lemp13-b/board.mk b/src/board/system76/lemp13-b/board.mk index a4a46f461..b9fd40fd4 100644 --- a/src/board/system76/lemp13-b/board.mk +++ b/src/board/system76/lemp13-b/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y CONFIG_PECI_OVER_ESPI = y # Enable firmware security diff --git a/src/board/system76/lemp13/board.mk b/src/board/system76/lemp13/board.mk index b571acb4e..9333dc13c 100644 --- a/src/board/system76/lemp13/board.mk +++ b/src/board/system76/lemp13/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y CONFIG_PECI_OVER_ESPI = y # Enable firmware security diff --git a/src/board/system76/lemp9/board.mk b/src/board/system76/lemp9/board.mk index 98e43091c..916fab6a8 100644 --- a/src/board/system76/lemp9/board.mk +++ b/src/board/system76/lemp9/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=14in_83 diff --git a/src/board/system76/oryp10/board.mk b/src/board/system76/oryp10/board.mk index 06e98e608..9abcddcc3 100644 --- a/src/board/system76/oryp10/board.mk +++ b/src/board/system76/oryp10/board.mk @@ -10,8 +10,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/oryp11/board.mk b/src/board/system76/oryp11/board.mk index 065fda221..fbb6cf2e9 100644 --- a/src/board/system76/oryp11/board.mk +++ b/src/board/system76/oryp11/board.mk @@ -7,10 +7,10 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y -# Use PECI over eSPI -CONFIG_PECI_OVER_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y +CONFIG_PECI_OVER_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/oryp12/board.mk b/src/board/system76/oryp12/board.mk index 24c62b328..51c619128 100644 --- a/src/board/system76/oryp12/board.mk +++ b/src/board/system76/oryp12/board.mk @@ -7,7 +7,8 @@ EC = ite CONFIG_EC_ITE_IT5570E = y CONFIG_EC_FLASH_SIZE_256K = y -# Enable eSPI +# Intel-based host +CONFIG_PLATFORM_INTEL = y CONFIG_BUS_ESPI = y CONFIG_PECI_OVER_ESPI = y diff --git a/src/board/system76/oryp5/board.mk b/src/board/system76/oryp5/board.mk index 561e9428b..e034f1ddf 100644 --- a/src/board/system76/oryp5/board.mk +++ b/src/board/system76/oryp5/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT8587E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/oryp6/board.mk b/src/board/system76/oryp6/board.mk index 8461a415f..cc3010261 100644 --- a/src/board/system76/oryp6/board.mk +++ b/src/board/system76/oryp6/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/oryp7/board.mk b/src/board/system76/oryp7/board.mk index 8461a415f..cc3010261 100644 --- a/src/board/system76/oryp7/board.mk +++ b/src/board/system76/oryp7/board.mk @@ -7,6 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y +# Intel-based host +CONFIG_PLATFORM_INTEL = y + # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/oryp8/board.mk b/src/board/system76/oryp8/board.mk index 7df7931d0..87177d551 100644 --- a/src/board/system76/oryp8/board.mk +++ b/src/board/system76/oryp8/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Include keyboard KEYBOARD=15in_102 diff --git a/src/board/system76/oryp9/board.mk b/src/board/system76/oryp9/board.mk index 8287f6b15..674139ba8 100644 --- a/src/board/system76/oryp9/board.mk +++ b/src/board/system76/oryp9/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y diff --git a/src/board/system76/serw13/board.mk b/src/board/system76/serw13/board.mk index 149a97d25..90d20d240 100644 --- a/src/board/system76/serw13/board.mk +++ b/src/board/system76/serw13/board.mk @@ -7,8 +7,9 @@ EC=ite CONFIG_EC_ITE_IT5570E=y CONFIG_EC_FLASH_SIZE_128K = y -# Enable eSPI -CONFIG_BUS_ESPI=y +# Intel-based host +CONFIG_PLATFORM_INTEL = y +CONFIG_BUS_ESPI = y # Enable firmware security CONFIG_SECURITY=y