aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/nami/include
diff options
context:
space:
mode:
authoramanda_hwang <amanda_hwang@compal.corp-partner.google.com>2018-03-16 13:43:52 +0800
committerMartin Roth <martinroth@google.com>2018-03-19 15:08:41 +0000
commit04ccd5f9b5006363dac228379057d0b48ed8768b (patch)
tree46621fe5bfa6d2cf56c9712a6431600df3be1d87 /src/mainboard/google/poppy/variants/nami/include
parentc4276a3fdc803213d706491c3f83534ce2870f24 (diff)
mb/google/poppy: Config GPIO for DMIC by different sku id
BUG=b:74177699 BRANCH=poppy TEST=Verify audio recorder function by different SKU ID Change-Id: Ic6570703f6ab4a1b03cbba8370fc0f597ab6bcf2 Signed-off-by: amanda_hwang <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/25148 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nami/include')
-rw-r--r--src/mainboard/google/poppy/variants/nami/include/variant/sku.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/include/variant/sku.h b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
new file mode 100644
index 0000000000..b72f3497fe
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/nami/include/variant/sku.h
@@ -0,0 +1,24 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __MAINBOARD_SKU_H__
+#define __MAINBOARD_SKU_H__
+
+#define SKU_UNKNOWN 0xFFFF
+#define SKU_0_NAMI 0x3A7B
+#define SKU_1_VAYNE 0x3A63
+#define SKU_2_VAYNE 0x3A7F
+
+#endif /* __MAINBOARD_SKU_H__ */