Skip to content
Snippets Groups Projects
Commit ecf674b7 authored by Simon Glass's avatar Simon Glass
Browse files

x86: Drop FSP error defines and use EFI instead


Now that we have an efi.h header we can use that for FSP error defines.
Drop the FSP ones.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent ecfeadab
No related branches found
No related tags found
No related merge requests found
...@@ -68,15 +68,4 @@ struct efi_guid { ...@@ -68,15 +68,4 @@ struct efi_guid {
#define SIGNATURE_64(A, B, C, D, E, F, G, H) \ #define SIGNATURE_64(A, B, C, D, E, F, G, H) \
(SIGNATURE_32(A, B, C, D) | ((u64)(SIGNATURE_32(E, F, G, H)) << 32)) (SIGNATURE_32(A, B, C, D) | ((u64)(SIGNATURE_32(E, F, G, H)) << 32))
/*
* Define FSP API return status code.
* Compatiable with EFI_STATUS defined in PI Spec.
*/
#define FSP_SUCCESS 0
#define FSP_INVALID_PARAM 0x80000002
#define FSP_UNSUPPORTED 0x80000003
#define FSP_DEVICE_ERROR 0x80000007
#define FSP_NOT_FOUND 0x8000000E
#define FSP_ALREADY_STARTED 0x80000014
#endif #endif
...@@ -46,7 +46,7 @@ void board_final_cleanup(void) ...@@ -46,7 +46,7 @@ void board_final_cleanup(void)
/* call into FspNotify */ /* call into FspNotify */
debug("Calling into FSP (notify phase INIT_PHASE_BOOT): "); debug("Calling into FSP (notify phase INIT_PHASE_BOOT): ");
status = fsp_notify(NULL, INIT_PHASE_BOOT); status = fsp_notify(NULL, INIT_PHASE_BOOT);
if (status != FSP_SUCCESS) if (status)
debug("fail, error code %x\n", status); debug("fail, error code %x\n", status);
else else
debug("OK\n"); debug("OK\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment