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>
This commit is contained in:
parent
3ff4f85ccd
commit
7c0ee48510
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue