coreboot-kgpe-d16/Documentation/soc/intel
Rizwan Qureshi ec321094f6 soc/intel/common/basecode: Implement CSE update flow
The following changes are done in this patch:
 1. Get the CSE partition info containing version of CSE RW using
    GET_BOOT_PARTITION_INFO HECI command
 2. Get the me_rw.version from the currently selected RW slot.
 3. If the versions from the above 2 locations don't match start the update
    - If CSE's current boot partition is not RO, then
        * Set the CSE's next boot partition to RO using SET_BOOT_PARTITION
          HECI command.
        * Send global reset command to reset the system.
    - Enable HMRFPO (Host ME Region Flash Protection Override) operation
      mode using HMRFPO_ENABLE HECI command
    - Erase and Copy the CBFS CSE RW to CSE RW partition
    - Set the CSE's next boot partition to RW using
      SET_BOOT_PARTITION HECI command
    - Trigger global reset
    - The system should boot with the updated CSE RW partition.

TEST=Verified basic update flows on hatch and helios.
BUG=b:111330995

Change-Id: I12f6bba3324069d65edabaccd234006b0840e700
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Signed-off-by: V Sowmya <v.sowmya@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35403
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-07-26 21:42:06 +00:00
..
apollolake doc/mb/upsquared: Add documentation 2019-06-17 14:26:42 +00:00
code_development_model Documentation/soc/intel: Add common code design document 2018-06-30 03:39:07 +00:00
cse_fw_update soc/intel/common/basecode: Implement CSE update flow 2020-07-26 21:42:06 +00:00
fsp soc/intel/cannonlake: Steal no memory for disabled IGD 2020-04-09 21:49:01 +00:00
icelake Documentation/soc/intel/fsp: Move mp_service_ppi document in corrct directory 2019-03-19 21:41:34 +00:00
mp_init soc/intel/block/cpu: remove unused USE_COREBOOT_NATIVE_MP_INIT 2019-07-10 10:14:39 +00:00
fit.dia Documentation: Add FIT 2019-04-30 08:18:57 +00:00
fit.md treewide: capitalize 'BIOS' 2020-02-17 20:11:24 +00:00
fit.svg Documentation: Add FIT 2019-04-30 08:18:57 +00:00
index.md soc/intel/common/basecode: Implement CSE update flow 2020-07-26 21:42:06 +00:00