mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
x86: Move common FSP code into a common location
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
ef565a53ea
commit
1021af4ded
18 changed files with 16 additions and 8 deletions
|
@ -5,5 +5,5 @@
|
|||
#
|
||||
|
||||
obj-y += tnc_car.o tnc_dram.o tnc.o topcliff.o
|
||||
obj-y += fsp_configs.o fsp_support.o
|
||||
obj-y += fsp_configs.o
|
||||
obj-$(CONFIG_PCI) += tnc_pci.o
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
|
||||
void update_fsp_upd(struct upd_region *fsp_upd)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <asm/pci.h>
|
||||
#include <asm/post.h>
|
||||
#include <asm/arch/tnc.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
#include <asm/processor.h>
|
||||
|
||||
static void unprotect_spi_flash(void)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
#include <asm/e820.h>
|
||||
#include <asm/post.h>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <common.h>
|
||||
#include <pci.h>
|
||||
#include <asm/pci.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "fsp_platform.h"
|
||||
#include "fsp_infoheader.h"
|
||||
#include "fsp_bootmode.h"
|
||||
#include "fsp_vpd.h"
|
||||
#include <asm/arch/fsp/fsp_vpd.h>
|
||||
|
||||
struct shared_data {
|
||||
struct fsp_header *fsp_hdr;
|
|
@ -25,6 +25,7 @@ obj-y += string.o
|
|||
obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
|
||||
obj-$(CONFIG_VIDEO_VGA) += video.o
|
||||
obj-$(CONFIG_CMD_ZBOOT) += zimage.o
|
||||
obj-$(CONFIG_HAVE_FSP) += fsp/
|
||||
|
||||
extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
|
7
arch/x86/lib/fsp/Makefile
Normal file
7
arch/x86/lib/fsp/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# Copyright (C) 2015 Google, Inc
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += fsp_support.o
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/arch/fsp/fsp_support.h>
|
||||
#include <asm/fsp/fsp_support.h>
|
||||
#include <asm/post.h>
|
||||
|
||||
/**
|
Loading…
Reference in a new issue