drivers/vpd: rename VPD_ANY to VPD_RO_THEN_RW
Rename VPD_ANY to VPD_RO_THEN_RW, to reflect the VPD region search preference. Update all existing code references for VPD_ANY. Signed-off-by: Jonathan Zhang <jonzhang@fb.com> Change-Id: I960688d1f6ab199768107ab73b8a7400a3fdf473 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41586 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
b781680d6e
commit
a9117ed496
@@ -70,7 +70,7 @@ int get_wifi_sar_limits(struct wifi_sar_limits *sar_limits)
|
||||
|
||||
/* Try to read the SAR limit entry from VPD */
|
||||
if (!vpd_gets(wifi_sar_limit_key, wifi_sar_limit_str,
|
||||
buffer_size, VPD_ANY)) {
|
||||
buffer_size, VPD_RO_THEN_RW)) {
|
||||
printk(BIOS_ERR, "Error: Could not locate '%s' in VPD.\n",
|
||||
wifi_sar_limit_key);
|
||||
|
||||
|
Reference in New Issue
Block a user