Kevin Chiu has uploaded this change for review.
mb/google/kukui: fix SKUID config for burnet/esche
ADCIN2 (LCM_ID) now was PD 200K but we might get incorrect voltage in
different condition:
developer mode
ADC[2]: Raw value=232459 ID=1
recovery mode:
ADC[2]: Raw value=36144 ID=0
in order to match sku definition of burnet/esche:
burnet: 0x11
esche: 0x10
we'll need to bypass ADCIN2 to update SKUID accordingly.
BUG=b:170916885
BRANCH=master
TEST=1. emerge-jacuzzi coreboot
2. check burnet/esche skuid correctly
Change-Id: I3b43b9153315ec65e9168c4e84ea844dff14d446
Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com>
---
M src/mainboard/google/kukui/boardid.c
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/46442/1
diff --git a/src/mainboard/google/kukui/boardid.c b/src/mainboard/google/kukui/boardid.c
index 548f36b..71df979 100644
--- a/src/mainboard/google/kukui/boardid.c
+++ b/src/mainboard/google/kukui/boardid.c
@@ -96,6 +96,11 @@
}
}
+ if (CONFIG(BOARD_GOOGLE_BURNET)) {
+ cached_sku_id = (0x10 | get_adc_index(SKU_ID_CHANNEL));
+ return cached_sku_id;
+ }
+
/*
* The SKU (later used for device tree matching) is combined from:
* ADC2[4bit/H] = straps on LCD module (type of panel).
To view, visit change 46442. To unsubscribe, or for help writing mail filters, visit settings.