summaryrefslogtreecommitdiff
path: root/arch/x86/lib/fsp
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-12 19:33:07 -0600
committerSimon Glass <sjg@chromium.org>2015-08-14 09:50:13 -0600
commitecf674b772713837e1d36f9c70ee319d7753a895 (patch)
treee91f486dab4e30694c8d0b8a8af80470a64fdba7 /arch/x86/lib/fsp
parentecfeadabb74452a0d78e6d12de9b63263a4a90c5 (diff)
downloadu-boot-imx-ecf674b772713837e1d36f9c70ee319d7753a895.zip
u-boot-imx-ecf674b772713837e1d36f9c70ee319d7753a895.tar.gz
u-boot-imx-ecf674b772713837e1d36f9c70ee319d7753a895.tar.bz2
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: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/fsp')
-rw-r--r--arch/x86/lib/fsp/fsp_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c
index 6f72c6d..d564cb9 100644
--- a/arch/x86/lib/fsp/fsp_common.c
+++ b/arch/x86/lib/fsp/fsp_common.c
@@ -46,7 +46,7 @@ void board_final_cleanup(void)
/* call into FspNotify */
debug("Calling into FSP (notify phase INIT_PHASE_BOOT): ");
status = fsp_notify(NULL, INIT_PHASE_BOOT);
- if (status != FSP_SUCCESS)
+ if (status)
debug("fail, error code %x\n", status);
else
debug("OK\n");