coreboot-kgpe-d16/3rdparty
Subrata Banik 5b0929f9d7 vboot: Drop argument to select slot from `vb2ex_ec_protect()`
vboot code changes have eliminated the redundant call to WP the EC-RO
region as protecting RW flash implies protecting both RO and RW flash,
so the call to protect RO is redundant. google/rex currently takes
about 17 ms to lock down the EC.

Along with vboot changes, this patch drops argument to choose between
RO and RW slot to protect while calling into `vb2ex_ec_protect()`.
It ensures vb2ex_ec_protect() is explicitly meant for protecting RW
regions.

w/o this patch:

517:waiting for EC to allow higher power draw  846,196 (17,297)

w/ this patch:

517:waiting for EC to allow higher power draw  838,258 (9,719)

Additionally, update vboot submodule to upstream main to avoid the
compilation error.

Updating from commit id 35f50c3154e5:
   Fix build error when compiling without -DNDEBUG
to commit id 034907b279c9db:
   vboot_reference: eliminate redundant call to write protect EC-RO

Change-Id: I2974f0cb43ba800c2aaeac4876ebaa052b5ee793
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75521
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com>
Reviewed-by: Harsha B R <harsha.b.r@intel.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2023-06-06 01:37:22 +00:00
..
amd_blobs@acf7395452 3rdparty/amd_blobs:Advance submodule pointer 2023-01-12 03:13:38 +00:00
arm-trusted-firmware@4c985e8674 Update arm-trusted-firmware submodule to upstream master 2023-03-17 13:55:14 +00:00
blobs@9df5910d68 3rdparty/blobs: Advance submodule pointer 2023-05-15 13:29:37 +00:00
chromeec@e486b388a7 Update chromeec submodule to upstream main 2022-01-17 15:55:32 +00:00
cmocka@8931845c35 tests: update CMocka to stable-1.1 2022-04-19 13:00:36 +00:00
ffs@3ec70fbc45
fsp@6f2f17f3d3 Update fsp submodule to upstream master 2022-12-19 21:37:59 +00:00
intel-microcode@2be47edc99 3rdparty/intel-microcode: Update from 262f0c97f2fb to 2be47edc99ee 2023-02-17 16:36:16 +00:00
intel-sec-tools@0031ac7344 security/intel/cbnt: Build test CBnT provisioning 2021-06-28 04:13:54 +00:00
libgfxinit@066e52eeaa 3rdparty/libgfxinit: Update submodule pointer to 066e52eeaa32 2022-11-26 08:11:52 +00:00
libhwbase@8be5a82b85 3rdparty/libhwbase: Update submodule pointer to 8be5a82b85ce 2022-11-26 08:11:42 +00:00
opensbi@5019fd124b 3rdparty/opensbi: Update to latest ToT 2022-09-14 20:12:56 +00:00
qc_blobs@33cc4f2fd8 Update qc_blobs submodule to upstream master 2022-12-19 21:37:29 +00:00
stm@1f3258261a
vboot@034907b279 vboot: Drop argument to select slot from `vb2ex_ec_protect()` 2023-06-06 01:37:22 +00:00