mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 12:03:39 +00:00
83d290c56f
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/* SPDX-License-Identifier: Intel */
|
|
/*
|
|
* Copyright (C) 2013, Intel Corporation
|
|
* Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#ifndef _FSP_HEADER_H_
|
|
#define _FSP_HEADER_H_
|
|
|
|
#define FSP_HEADER_OFF 0x94 /* Fixed FSP header offset in the FSP image */
|
|
|
|
struct __packed fsp_header {
|
|
u32 sign; /* 'FSPH' */
|
|
u32 hdr_len; /* header length */
|
|
u8 reserved1[3];
|
|
u8 hdr_rev; /* header rev */
|
|
u32 img_rev; /* image rev */
|
|
char img_id[8]; /* signature string */
|
|
u32 img_size; /* image size */
|
|
u32 img_base; /* image base */
|
|
u32 img_attr; /* image attribute */
|
|
u32 cfg_region_off; /* configuration region offset */
|
|
u32 cfg_region_size; /* configuration region size */
|
|
u32 api_num; /* number of API entries */
|
|
u32 fsp_tempram_init; /* tempram_init offset */
|
|
u32 fsp_init; /* fsp_init offset */
|
|
u32 fsp_notify; /* fsp_notify offset */
|
|
u32 fsp_mem_init; /* fsp_mem_init offset */
|
|
u32 fsp_tempram_exit; /* fsp_tempram_exit offset */
|
|
u32 fsp_silicon_init; /* fsp_silicon_init offset */
|
|
};
|
|
|
|
#define FSP_HEADER_REVISION_1 1
|
|
#define FSP_HEADER_REVISION_2 2
|
|
|
|
#define FSP_ATTR_GRAPHICS_SUPPORT (1 << 0)
|
|
|
|
#endif
|