vboot: move PERIPHERAL_BUSY to vboot2 namespace
Move VBERROR_PERIPHERAL_BUSY to vboot2 namespace as:
VB2_ERROR_EX_AUXFW_PERIPHERAL_BUSY
BUG=b:124141368, chromium:988410
TEST=make clean && make runtests
BRANCH=none
Change-Id: Iebc7d73e3a87a8bd4d999be56ad23d6b77d9785c
Signed-off-by: Joel Kitching <kitching@google.com>
Cq-Depend: chromium:2158865
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2158512
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
diff --git a/firmware/2lib/include/2return_codes.h b/firmware/2lib/include/2return_codes.h
index f94d0b2..45fb8b5 100644
--- a/firmware/2lib/include/2return_codes.h
+++ b/firmware/2lib/include/2return_codes.h
@@ -63,8 +63,6 @@
* vboot1-style errors
* TODO: deprecate these once they have all moved over to vboot2 style
*/
- /* Peripheral busy. Cannot upgrade firmware at present. */
- VBERROR_PERIPHERAL_BUSY = 0x10030,
/* Error writing VPD */
VBERROR_VPD_WRITE = 0x10032,
@@ -734,6 +732,9 @@
/* vb2ex function is unimplemented (stubbed in 2lib/2stub.c) */
VB2_ERROR_EX_UNIMPLEMENTED,
+ /* AUXFW peripheral busy. Cannot upgrade firmware at present. */
+ VB2_ERROR_EX_AUXFW_PERIPHERAL_BUSY,
+
/**********************************************************************
* LoadKernel errors
*