drivers/intel/fsp_1_1: Remove useless #ifndef/#error pairs
The #error messages only say that "CONFIG_* must be defined", which conveys no more information that the compiler or assembler failing when it encounters an undefined CONFIG_* symbol. Change-Id: I6058474d4cd454cfc20290650425d379f388abd9 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/11461 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
9c98664480
commit
681012ab3d
|
@ -33,24 +33,6 @@
|
|||
#include <cpu/x86/post_code.h>
|
||||
#include <cbmem.h>
|
||||
|
||||
#ifndef CONFIG_FSP_LOC
|
||||
# error "CONFIG_FSP_LOC must be set."
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_POST_IO
|
||||
# error "CONFIG_POST_IO must be set."
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_POST_IO)
|
||||
# ifndef CONFIG_POST_IO_PORT
|
||||
# error "CONFIG_POST_IO_PORT must be set."
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_CPU_MICROCODE_CBFS_LOC
|
||||
# error "CONFIG_CPU_MICROCODE_CBFS_LOC must be set."
|
||||
#endif
|
||||
|
||||
#define LHLT_DELAY 0x50000 /* I/O delay between post codes on failure */
|
||||
|
||||
/*
|
||||
|
|
|
@ -38,10 +38,6 @@ FSP_INFO_HEADER *find_fsp(void)
|
|||
} fsp_ptr;
|
||||
u32 *image_id;
|
||||
|
||||
#ifndef CONFIG_FSP_LOC
|
||||
#error "CONFIG_FSP_LOC must be set."
|
||||
#endif
|
||||
|
||||
for (;;) {
|
||||
/* Get the FSP binary base address in CBFS */
|
||||
fsp_ptr.u8 = (u8 *)CONFIG_FSP_LOC;
|
||||
|
|
Loading…
Reference in New Issue