summaryrefslogtreecommitdiff
path: root/src/mainboard/google/deltaur/variants/deltan/include
diff options
context:
space:
mode:
authorAnil Kumar <anil.kumar.k@intel.com>2020-03-26 16:35:23 -0700
committerMartin Roth <martinroth@google.com>2020-04-13 20:26:54 +0000
commitc6f5b05cf383bd66c1f9e168394c7c0d86080a60 (patch)
treed711f57ab1cbadda5c8977fa1c79ff8422535f86 /src/mainboard/google/deltaur/variants/deltan/include
parent06684979f9ebfa2731bc01a5b9cfb61a4e91a2c0 (diff)
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/deltan/include')
-rw-r--r--src/mainboard/google/deltaur/variants/deltan/include/variant/variant.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mainboard/google/deltaur/variants/deltan/include/variant/variant.h b/src/mainboard/google/deltaur/variants/deltan/include/variant/variant.h
new file mode 100644
index 0000000000..be4c970959
--- /dev/null
+++ b/src/mainboard/google/deltaur/variants/deltan/include/variant/variant.h
@@ -0,0 +1,25 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef VARIANT_H
+#define VARIANT_H
+
+#include <baseboard/variants.h>
+#include <gpio.h>
+#include <variant/gpio.h>
+
+const static sku_info skus[] = {
+ /* Deltan 360 - invalid configuration */
+ { .id = -1, .name = "sku_invalid" },
+ /* Deltan */
+ { .id = 1, .name = "sku1" },
+ /* Deltan 360 signed - invalid configuration */
+ { .id = -1, .name = "sku_invalid" },
+ /* Deltan signed */
+ { .id = 2, .name = "sku2" },
+};
+
+#endif