mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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:
parent
592434139b
commit
f09d4edf4b
3 changed files with 4 additions and 2 deletions
|
@ -4,4 +4,7 @@
|
||||||
|
|
||||||
obj-y += fsp_common.o
|
obj-y += fsp_common.o
|
||||||
obj-y += fsp_dram.o
|
obj-y += fsp_dram.o
|
||||||
|
ifndef CONFIG_SPL_BUILD
|
||||||
|
obj-$(CONFIG_VIDEO_FSP) += fsp_graphics.o
|
||||||
|
endif
|
||||||
obj-y += fsp_support.o
|
obj-y += fsp_support.o
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <vbe.h>
|
#include <vbe.h>
|
||||||
#include <video.h>
|
#include <video.h>
|
||||||
#include <asm/fsp1/fsp_support.h>
|
#include <asm/fsp/fsp_support.h>
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
|
@ -5,5 +5,4 @@
|
||||||
obj-y += fsp_car.o
|
obj-y += fsp_car.o
|
||||||
obj-y += fsp_common.o
|
obj-y += fsp_common.o
|
||||||
obj-y += fsp_dram.o
|
obj-y += fsp_dram.o
|
||||||
obj-$(CONFIG_VIDEO_FSP) += fsp_graphics.o
|
|
||||||
obj-y += fsp_support.o
|
obj-y += fsp_support.o
|
||||||
|
|
Loading…
Add table
Reference in a new issue