diff options
author | Anil Kumar <anil.kumar.k@intel.com> | 2020-03-26 16:35:23 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2020-04-13 20:26:54 +0000 |
commit | c6f5b05cf383bd66c1f9e168394c7c0d86080a60 (patch) | |
tree | d711f57ab1cbadda5c8977fa1c79ff8422535f86 /src/mainboard/google/deltaur/variants/baseboard/gpio.c | |
parent | 06684979f9ebfa2731bc01a5b9cfb61a4e91a2c0 (diff) | |
download | coreboot-c6f5b05cf383bd66c1f9e168394c7c0d86080a60.tar.xz |
mb/google/deltaur: Return SKU ID info
For Deltaur and Deltan variants return proper SKU ID based on EC
firmware type and sensor detect GPIO value
BUG=b:152544516
TEST=make build successful for deltan
Change-Id: I20a497739e5062400b093648c3a634203dec6105
Signed-off-by: Anil Kumar <anil.kumar.k@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39868
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/deltaur/variants/baseboard/gpio.c')
-rw-r--r-- | src/mainboard/google/deltaur/variants/baseboard/gpio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/deltaur/variants/baseboard/gpio.c b/src/mainboard/google/deltaur/variants/baseboard/gpio.c index a67dd8cb4c..46a5cdd79d 100644 --- a/src/mainboard/google/deltaur/variants/baseboard/gpio.c +++ b/src/mainboard/google/deltaur/variants/baseboard/gpio.c @@ -468,3 +468,8 @@ const struct pad_config *__weak variant_early_gpio_table(size_t *num) *num = ARRAY_SIZE(early_gpio_table); return early_gpio_table; } + +int __weak has_360_sensor_board(void) +{ + return 0; +} |