mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 06:38:15 +01:00
x86: Create a new fsp_arch.h header
At present fsp_support.h includes fsp_vpd.h which is an FPSv1 concept (VPD means Vital Product Data). For FSPv2 only UPD (Updatable Product Data) is used. To avoid mangling header files, put these two includes in a separate header which we can adjust as necessary for FSPv2. 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
6e93c64117
commit
8cd29798d6
@ -14,9 +14,8 @@
|
||||
#include "fsp_api.h"
|
||||
#include "fsp_infoheader.h"
|
||||
#include "fsp_bootmode.h"
|
||||
#include <asm/fsp_arch.h>
|
||||
#include <asm/fsp/fsp_azalia.h>
|
||||
#include <asm/arch/fsp/fsp_vpd.h>
|
||||
#include <asm/arch/fsp/fsp_configs.h>
|
||||
|
||||
#define FSP_LOWMEM_BASE 0x100000UL
|
||||
#define FSP_HIGHMEM_BASE 0x100000000ULL
|
||||
|
20
arch/x86/include/asm/fsp_arch.h
Normal file
20
arch/x86/include/asm/fsp_arch.h
Normal file
@ -0,0 +1,20 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright 2019 Google LLC
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*
|
||||
* Architecture-specific definitions (FSP config and VPD/UPD)
|
||||
*/
|
||||
|
||||
#ifndef __FSP_ARCH_H__
|
||||
#define __FSP_ARCH_H__
|
||||
|
||||
/*
|
||||
* Note: use #ifndef __ASSEMBLY__ around any struct definitions or other C code
|
||||
* since this file can be included from assembly.
|
||||
*/
|
||||
|
||||
#include <asm/arch/fsp/fsp_vpd.h>
|
||||
#include <asm/arch/fsp/fsp_configs.h>
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user