summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2017-05-30 13:41:13 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-06-28 23:23:41 -0700
commit031dccad78b9d4df6b970bc36ef2f9d469239708 (patch)
treec3c9b8e9b0b96a1de9fba5da3c6c65d70cfc4bfe /include/system.h
parentc74c0785927ab7770143d5ff503b4c0ca9df9ff1 (diff)
downloadchrome-ec-031dccad78b9d4df6b970bc36ef2f9d469239708.tar.gz
vboot_ec:Read try slot from BBRAM
This patch makes EC read the slot to verify and jump to from the battery backed up RAM (BBRAM). BUG=b:38462249 BRANCH=none TEST=Boot Fizz Change-Id: I0c78861ea3ccdc45d0aa08e690e3a68f53658409 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/518255
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h
index 10c10ccf52..8bc63332c2 100644
--- a/include/system.h
+++ b/include/system.h
@@ -307,6 +307,7 @@ enum system_bbram_idx {
/* PD state for CONFIG_USB_PD_DUAL_ROLE uses one byte per port */
SYSTEM_BBRAM_IDX_PD0,
SYSTEM_BBRAM_IDX_PD1,
+ SYSTEM_BBRAM_IDX_TRY_SLOT,
};
/**