From 7c0ee485100f63f914d9116d0befeac1e85c51fe Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 8 Dec 2014 03:47:20 +1100 Subject: drivers/intel/fsp/fsp_util.c: Remove attribute,optimize("O0") This is not actually required. Tested on 'minnow max' hardware as well as compared the asm of the optimized and non-optimized. Thanks Martin! Change-Id: I06e71876c3a3a15101013623797c2ebbf449756d Signed-off-by: Edward O'Callaghan Found-by: Clang Reviewed-on: http://review.coreboot.org/7694 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/drivers/intel/fsp/fsp_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/intel') diff --git a/src/drivers/intel/fsp/fsp_util.c b/src/drivers/intel/fsp/fsp_util.c index e15c82e87d..3e3f727bbf 100644 --- a/src/drivers/intel/fsp/fsp_util.c +++ b/src/drivers/intel/fsp/fsp_util.c @@ -103,7 +103,7 @@ void __attribute__ ((noreturn)) fsp_early_init (FSP_INFO_HEADER *fsp_ptr) } #endif /* __PRE_RAM__ */ -volatile u8 * __attribute__((optimize("O0"))) find_fsp () +volatile u8 * find_fsp () { #ifdef __PRE_RAM__ -- cgit v1.2.3