From fa6bd71bddca404e99e4ab119b890020c0fda998 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 11 Jan 2015 11:34:36 -0700 Subject: vendorcode/intel: remove DebugDeadLoop() from fsptypes.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When included for the CAR transition, this was causing the error: error: invalid storage class for function 'DebugDeadLoop' Change-Id: Idf37a8104b4468b40c29c8cbe9a40f7a357a4f17 Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/8193 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Kyösti Mälkki --- src/vendorcode/intel/fsp/rangeley/include/fsptypes.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/vendorcode/intel/fsp/rangeley') diff --git a/src/vendorcode/intel/fsp/rangeley/include/fsptypes.h b/src/vendorcode/intel/fsp/rangeley/include/fsptypes.h index 3d2e6631a1..5912e0115b 100644 --- a/src/vendorcode/intel/fsp/rangeley/include/fsptypes.h +++ b/src/vendorcode/intel/fsp/rangeley/include/fsptypes.h @@ -100,18 +100,13 @@ typedef struct { #define TRUE ((BOOLEAN)(1==1)) #define FALSE ((BOOLEAN)(0==1)) -static inline void DebugDeadLoop(void) { - for (;;); -} - #define FSPAPI __attribute__((cdecl)) #define EFIAPI __attribute__((cdecl)) -#define _ASSERT(Expression) DebugDeadLoop() #define ASSERT(Expression) \ do { \ if (!(Expression)) { \ - _ASSERT (Expression); \ + for (;;); \ } \ } while (FALSE) @@ -180,4 +175,4 @@ typedef UINT32 EFI_STATUS; #define SIGNATURE_64(A, B, C, D, E, F, G, H) \ (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << 32)) -#endif \ No newline at end of file +#endif -- cgit v1.2.3