drivers/intel/fsp1_1: Don't compile GOP support in romstage
We don't need the code in romstage, and it saves us a few #ifdefs. Change-Id: I26d867566f07c7d80890cd01bf055be7497130d3 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/11457 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
41c003ca6d
commit
1dbbe828d4
|
@ -18,7 +18,6 @@
|
|||
# Foundation, Inc.
|
||||
#
|
||||
|
||||
romstage-$(CONFIG_GOP_SUPPORT) += fsp_gop.c
|
||||
romstage-y += fsp_util.c
|
||||
romstage-y += hob.c
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ const optionrom_vbt_t *fsp_get_vbt(uint32_t *vbt_len)
|
|||
return vbt.data;
|
||||
}
|
||||
|
||||
#if ENV_RAMSTAGE
|
||||
void fsp_gop_framebuffer(struct lb_header *header)
|
||||
{
|
||||
struct lb_framebuffer *framebuffer;
|
||||
|
@ -98,4 +97,3 @@ void fsp_gop_framebuffer(struct lb_header *header)
|
|||
framebuffer->tag = LB_TAG_FRAMEBUFFER;
|
||||
framebuffer->size = sizeof(*framebuffer);
|
||||
}
|
||||
#endif /* ENV_RAMSTAGE */
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
#include <soc/intel/common/gma.h>
|
||||
|
||||
const optionrom_vbt_t *fsp_get_vbt(uint32_t *vbt_len);
|
||||
#if ENV_RAMSTAGE
|
||||
void fsp_gop_framebuffer(struct lb_header *header);
|
||||
#endif /* ENV_RAMSTAGE */
|
||||
|
||||
#endif /* CONFIG_GOP_SUPPORT */
|
||||
#endif /* _FSP_GOP_H_ */
|
||||
|
|
Loading…
Reference in New Issue