summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h')
-rw-r--r--arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h b/arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h
index 12ebbfd..f32d827 100644
--- a/arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h
+++ b/arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h
@@ -8,20 +8,8 @@
#ifndef __FSP_TYPES_H__
#define __FSP_TYPES_H__
-/*
- * Boolean true value. UEFI Specification defines this value to be 1,
- * but this form is more portable.
- */
-#define TRUE ((unsigned char)(1 == 1))
-
-/*
- * Boolean false value. UEFI Specification defines this value to be 0,
- * but this form is more portable.
- */
-#define FALSE ((unsigned char)(0 == 1))
-
/* 128 bit buffer containing a unique identifier value */
-struct efi_guid_t {
+struct efi_guid {
u32 data1;
u16 data2;
u16 data3;
@@ -80,9 +68,6 @@ struct efi_guid_t {
#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))
-/* Assertion for debug */
-#define ASSERT(exp) do { if (!(exp)) for (;;); } while (FALSE)
-
/*
* Define FSP API return status code.
* Compatiable with EFI_STATUS defined in PI Spec.