diff options
author | Sudheer Kumar Amrabadi <samrabad@codeaurora.org> | 2022-10-13 08:48:29 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-13 14:35:51 +0000 |
commit | 982bf99c899f2948e40278a7be2973e28f85af69 (patch) | |
tree | 38273562b2aeaef44b9015981a3a0046cd760729 /src | |
parent | 8139fc4be5c52ab10af784733f000650dd848d74 (diff) |
soc/qualcomm/sc7280: Update Skuid to support pro/non-pro
Tranferring a bit to DC through Skuid to update the regulator
node in order to support pro and non-pro
BUG=b:248187555
TEST=Validate boards are detected correctly on PRO and NON_PRO SKUs
Signed-off-by: Sudheer Kumar Amrabadi <quic_samrabad@quicinc.com>
Change-Id: Iec392c03c2e2c79d20b1fcb79236ca9e048bfd07
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68385
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/herobrine/boardid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/herobrine/boardid.c b/src/mainboard/google/herobrine/boardid.c index 1f0c88fcb8..38aeb208b0 100644 --- a/src/mainboard/google/herobrine/boardid.c +++ b/src/mainboard/google/herobrine/boardid.c @@ -44,7 +44,11 @@ uint32_t sku_id(void) /* Update modem status in 9th bit of sku id */ uint32_t mask = 1 << 9; + + /* Update pro-part status in 10th bit of sku id */ + uint32_t mask_pro = 1 << 10; id = google_chromeec_get_board_sku(); id = ((id & ~mask) | (socinfo_modem_supported() << 9)); + id = ((id & ~mask_pro) | (socinfo_pro_part() << 10)); return id; } |