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>
This commit is contained in:
parent
8139fc4be5
commit
982bf99c89
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue