summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2018-02-06 16:22:21 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-04-25 22:59:58 -0700
commit3dfcaaaf0bbb8298d656e8280ac83b6a4c421a92 (patch)
treecf295c1ef219fd5136304cf8ba9505a386afa500 /include/system.h
parent53019df3a6ffe3f3a67ac0c7613e543da0fd9e3c (diff)
downloadchrome-ec-3dfcaaaf0bbb8298d656e8280ac83b6a4c421a92.tar.gz
npcx: Add BBRM idx for a 3rd PD port.
Currently, there's only one board with 3 PD ports and it uses NPCX. Therefore, this commit just adds the index to NPCX which will be used to save the fact that there was an explicit contract in place. BUG=b:72838807 BRANCH=None TEST=make -j buildall CQ-DEPEND=CL:905390 Change-Id: Ic960f14a52f2a740adbe08bc340c45edfefbbf26 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/905922 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
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 a47f8a3af3..acc3f71471 100644
--- a/include/system.h
+++ b/include/system.h
@@ -341,6 +341,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_PD2,
SYSTEM_BBRAM_IDX_TRY_SLOT,
};