x86: fsp: Make graphics support common to FSP1/2

Both versions of FSP can use the same graphics support, so move it into
the common directory.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass 2019-12-06 21:42:16 -07:00 committed by Bin Meng
parent 592434139b
commit f09d4edf4b
3 changed files with 4 additions and 2 deletions

View File

@ -4,4 +4,7 @@
obj-y += fsp_common.o
obj-y += fsp_dram.o
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_VIDEO_FSP) += fsp_graphics.o
endif
obj-y += fsp_support.o

View File

@ -7,7 +7,7 @@
#include <dm.h>
#include <vbe.h>
#include <video.h>
#include <asm/fsp1/fsp_support.h>
#include <asm/fsp/fsp_support.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -5,5 +5,4 @@
obj-y += fsp_car.o
obj-y += fsp_common.o
obj-y += fsp_dram.o
obj-$(CONFIG_VIDEO_FSP) += fsp_graphics.o
obj-y += fsp_support.o