summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-12-08 03:47:20 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-12-08 18:27:21 +0100
commit7c0ee485100f63f914d9116d0befeac1e85c51fe (patch)
treed0b2666c9d72351462a7904c2cb6a908281188ee /src/drivers/intel
parent3ff4f85ccd9fdb7cd4885a10f025b5ab297a445f (diff)
downloadcoreboot-7c0ee485100f63f914d9116d0befeac1e85c51fe.tar.xz
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 <eocallaghan@alterapraxis.com> Found-by: Clang Reviewed-on: http://review.coreboot.org/7694 Reviewed-by: Martin Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/fsp/fsp_util.c2
1 files changed, 1 insertions, 1 deletions
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__