diff options
author | Tim Crawford <tcrawford@system76.com> | 2023-01-10 13:32:25 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-04 01:58:35 +0000 |
commit | e0c96daccedc12a31c52a5da3cfacdb4a61c2e9a (patch) | |
tree | 961b366df136546ed29b0d01353369ef6b3f65a5 /src/mainboard | |
parent | 9a911cef885f608e5645683a332216a78ef40e8e (diff) |
{ec,mb}/system76: Move smbios_system_wakeup_type
Move the implementation of smbios_system_wakeup_type from the mainboards
to the EC for all models that use System76 EC (everything except KBL).
Change-Id: Iaace234ca87e8a05eaa006a438d2c9eb13ce4d76
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71802
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jeremy Soller <jeremy@system76.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/system76/addw1/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/adl/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/bonw14/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/cml-u/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/gaze15/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/oryp5/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/oryp6/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/tgl-h/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/tgl-u/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/whl-u/ramstage.c | 6 |
10 files changed, 0 insertions, 60 deletions
diff --git a/src/mainboard/system76/addw1/ramstage.c b/src/mainboard/system76/addw1/ramstage.c index 376849f5a2..ca6f64b158 100644 --- a/src/mainboard/system76/addw1/ramstage.c +++ b/src/mainboard/system76/addw1/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <variant/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/adl/ramstage.c b/src/mainboard/system76/adl/ramstage.c index 86ce82119e..c767f2dfe6 100644 --- a/src/mainboard/system76/adl/ramstage.c +++ b/src/mainboard/system76/adl/ramstage.c @@ -2,12 +2,6 @@ #include <mainboard/gpio.h> #include <soc/ramstage.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} void mainboard_silicon_init_params(FSP_S_CONFIG *params) { diff --git a/src/mainboard/system76/bonw14/ramstage.c b/src/mainboard/system76/bonw14/ramstage.c index 839b84af1d..43ee54f50a 100644 --- a/src/mainboard/system76/bonw14/ramstage.c +++ b/src/mainboard/system76/bonw14/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <mainboard/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/cml-u/ramstage.c b/src/mainboard/system76/cml-u/ramstage.c index 839b84af1d..43ee54f50a 100644 --- a/src/mainboard/system76/cml-u/ramstage.c +++ b/src/mainboard/system76/cml-u/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <mainboard/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/gaze15/ramstage.c b/src/mainboard/system76/gaze15/ramstage.c index 376849f5a2..ca6f64b158 100644 --- a/src/mainboard/system76/gaze15/ramstage.c +++ b/src/mainboard/system76/gaze15/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <variant/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/oryp5/ramstage.c b/src/mainboard/system76/oryp5/ramstage.c index 839b84af1d..43ee54f50a 100644 --- a/src/mainboard/system76/oryp5/ramstage.c +++ b/src/mainboard/system76/oryp5/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <mainboard/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/oryp6/ramstage.c b/src/mainboard/system76/oryp6/ramstage.c index 376849f5a2..ca6f64b158 100644 --- a/src/mainboard/system76/oryp6/ramstage.c +++ b/src/mainboard/system76/oryp6/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <variant/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/tgl-h/ramstage.c b/src/mainboard/system76/tgl-h/ramstage.c index 49b9934aed..480c49c4d1 100644 --- a/src/mainboard/system76/tgl-h/ramstage.c +++ b/src/mainboard/system76/tgl-h/ramstage.c @@ -2,12 +2,6 @@ #include <soc/ramstage.h> #include <variant/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/tgl-u/ramstage.c b/src/mainboard/system76/tgl-u/ramstage.c index a01391a685..a3b12bb1f2 100644 --- a/src/mainboard/system76/tgl-u/ramstage.c +++ b/src/mainboard/system76/tgl-u/ramstage.c @@ -2,12 +2,6 @@ #include <mainboard/gpio.h> #include <soc/ramstage.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { diff --git a/src/mainboard/system76/whl-u/ramstage.c b/src/mainboard/system76/whl-u/ramstage.c index 839b84af1d..43ee54f50a 100644 --- a/src/mainboard/system76/whl-u/ramstage.c +++ b/src/mainboard/system76/whl-u/ramstage.c @@ -2,12 +2,6 @@ #include <device/device.h> #include <mainboard/gpio.h> -#include <smbios.h> - -smbios_wakeup_type smbios_system_wakeup_type(void) -{ - return SMBIOS_WAKEUP_TYPE_POWER_SWITCH; -} static void mainboard_init(void *chip_info) { |