From 04ccd5f9b5006363dac228379057d0b48ed8768b Mon Sep 17 00:00:00 2001 From: amanda_hwang Date: Fri, 16 Mar 2018 13:43:52 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/25148 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- .../poppy/variants/nami/include/variant/sku.h | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/mainboard/google/poppy/variants/nami/include/variant/sku.h (limited to 'src/mainboard/google/poppy/variants/nami/include') 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__ */ -- cgit v1.2.3