mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-27 03:33:50 +00:00
added reboot return codes to load kernel and firmware
Review URL: http://codereview.chromium.org/2844044
This commit is contained in:
@@ -20,6 +20,7 @@ __pragma(warning (disable: 4127))
|
||||
#define RETURN_ON_FAILURE(tpm_command) do { \
|
||||
uint32_t result; \
|
||||
if ((result = (tpm_command)) != TPM_SUCCESS) { \
|
||||
VBDEBUG(("Rollback: %08x returned by " #tpm_command "\n", (int)result)); \
|
||||
return result; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
Reference in New Issue
Block a user