Skip to content

bonw16 #607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coreboot
Submodule coreboot updated 42 files
+1 −0 src/drivers/intel/ish/ish.c
+2 −0 src/include/cpu/intel/cpu_ids.h
+146 −0 src/include/device/pci_ids.h
+14 −0 src/mainboard/system76/mtl/Kconfig
+3 −0 src/mainboard/system76/mtl/Kconfig.name
+12 −0 src/mainboard/system76/mtl/variants/bonw16/board.fmd
+2 −0 src/mainboard/system76/mtl/variants/bonw16/board_info.txt
+ src/mainboard/system76/mtl/variants/bonw16/data.vbt
+13 −0 src/mainboard/system76/mtl/variants/bonw16/gpio.c
+13 −0 src/mainboard/system76/mtl/variants/bonw16/gpio_early.c
+27 −0 src/mainboard/system76/mtl/variants/bonw16/hda_verb.c
+9 −0 src/mainboard/system76/mtl/variants/bonw16/overridetree.cb
+12 −0 src/mainboard/system76/mtl/variants/bonw16/ramstage.c
+31 −0 src/mainboard/system76/mtl/variants/bonw16/romstage.c
+1 −0 src/soc/intel/common/block/cnvi/cnvi.c
+2 −0 src/soc/intel/common/block/cpu/mp_init.c
+7 −0 src/soc/intel/common/block/cse/cse.c
+1 −0 src/soc/intel/common/block/dsp/dsp.c
+1 −0 src/soc/intel/common/block/dtt/dtt.c
+2 −0 src/soc/intel/common/block/fast_spi/fast_spi.c
+1 −0 src/soc/intel/common/block/graphics/graphics.c
+1 −0 src/soc/intel/common/block/hda/hda.c
+6 −0 src/soc/intel/common/block/i2c/i2c.c
+64 −0 src/soc/intel/common/block/lpc/lpc.c
+2 −0 src/soc/intel/common/block/p2sb/p2sb.c
+27 −0 src/soc/intel/common/block/pcie/pcie.c
+2 −0 src/soc/intel/common/block/pmc/pmc.c
+2 −0 src/soc/intel/common/block/sata/sata.c
+2 −0 src/soc/intel/common/block/smbus/smbus.c
+4 −0 src/soc/intel/common/block/spi/spi.c
+3 −0 src/soc/intel/common/block/sram/sram.c
+3 −0 src/soc/intel/common/block/systemagent/systemagent.c
+2 −0 src/soc/intel/common/block/tracehub/tracehub.c
+4 −0 src/soc/intel/common/block/uart/uart.c
+1 −0 src/soc/intel/common/block/xdci/xdci.c
+1 −0 src/soc/intel/common/block/xhci/xhci.c
+11 −2 src/soc/intel/meteorlake/Kconfig
+9 −0 src/soc/intel/meteorlake/Makefile.mk
+38 −0 src/soc/intel/meteorlake/bootblock/report_platform.c
+8 −1 src/soc/intel/meteorlake/chip.h
+229 −0 src/soc/intel/meteorlake/chipset_pch_s.cb
+8 −2 src/soc/intel/meteorlake/include/soc/gpio.h
6,674 changes: 6,674 additions & 0 deletions fsp/arl-s/5083.81/MeteorLakeFspBinPkg/Fsp.bsf

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions fsp/arl-s/5083.81/MeteorLakeFspBinPkg/Fsp.fd
Git LFS file not shown
118 changes: 118 additions & 0 deletions fsp/arl-s/5083.81/MeteorLakeFspBinPkg/FspPkgPcdShare.dsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
## @file
# Platform description for DynamicEx PCDs, defined in FSP Package
# and shared with Board Package.
#
# @copyright
# INTEL CONFIDENTIAL
# Copyright 2018 - 2021 Intel Corporation.
#
# The source code contained or described herein and all documents related to the
# source code ("Material") are owned by Intel Corporation or its suppliers or
# licensors. Title to the Material remains with Intel Corporation or its suppliers
# and licensors. The Material may contain trade secrets and proprietary and
# confidential information of Intel Corporation and its suppliers and licensors,
# and is protected by worldwide copyright and trade secret laws and treaty
# provisions. No part of the Material may be used, copied, reproduced, modified,
# published, uploaded, posted, transmitted, distributed, or disclosed in any way
# without Intel's prior express written permission.
#
# No license under any patent, copyright, trade secret or other intellectual
# property right is granted to or conferred upon you by disclosure or delivery
# of the Materials, either expressly, by implication, inducement, estoppel or
# otherwise. Any license under such intellectual property rights must be
# express and approved by Intel in writing.
#
# Unless otherwise agreed by Intel in writing, you may not remove or alter
# this notice or any other notice embedded in Materials by Intel or
# Intel's suppliers or licensors in any way.
#
# This file contains an 'Intel Peripheral Driver' and is uniquely identified as
# "Intel Reference Module" and is licensed for Intel CPUs and chipsets under
# the terms of your license agreement with Intel or your vendor. This file may
# be modified by the user, subject to additional terms of the license agreement.
#
# @par Specification
##

[PcdsDynamicExDefault]

## Specifies max supported number of Logical Processors.
# @Prompt Configure max supported number of Logical Processorss
gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|16

gSiPkgTokenSpaceGuid.PcdSiPciExpressBaseAddress|0xC0000000
gSiPkgTokenSpaceGuid.PcdPciExpressRegionLength|0x10000000

!if gSiPkgTokenSpaceGuid.PcdEmbeddedEnable == 0x1
gSiPkgTokenSpaceGuid.PcdI2cPostCode|0x0
!endif

## Specifies the base address of the first microcode Patch in the microcode Region.
# @Prompt Microcode Region base address.
gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0

## Specifies the size of the microcode Region.
# @Prompt Microcode Region size.
gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0

## Specifies the AP wait loop state during POST phase.
# The value is defined as below.
# 1: Place AP in the Hlt-Loop state.
# 2: Place AP in the Mwait-Loop state.
# 3: Place AP in the Run-Loop state.
# @Prompt The AP wait loop state.
gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|2

## Specifies the AP target C-state for Mwait during POST phase.
# The default value 0 means C1 state.
# The value is defined as below.<BR><BR>
# @Prompt The specified AP target C-state for Mwait.
gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0

#
# Enable ACPI S3 support in FSP by default
#
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|1

## Contains the pointer to a CPU S3 data buffer of structure ACPI_CPU_DATA.
# @Prompt The pointer to a CPU S3 data buffer.
gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress|0x00

## As input, specifies user's desired settings for enabling/disabling processor features.
## As output, specifies actual settings for processor features, each bit corresponding to a specific feature.
# @Prompt As input, specifies user's desired processor feature settings. As output, specifies actual processor feature settings.
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesSetting|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

## Contains the size of memory required when CPU processor trace is enabled.<BR><BR>
# Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
# @Prompt The memory size used for processor trace if processor trace is enabled.
gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceMemSize|0x0

## Contains the processor trace output scheme when CPU processor trace is enabled.<BR><BR>
# Processor trace is enabled through set BIT44(CPU_FEATURE_PROC_TRACE) in PcdCpuFeaturesSetting.<BR><BR>
# @Prompt The processor trace output scheme used when processor trace is enabled.
gUefiCpuPkgTokenSpaceGuid.PcdCpuProcTraceOutputScheme|0x0

## Indicates processor feature capabilities, each bit corresponding to a specific feature.
# @Prompt Processor feature capabilities.
gUefiCpuPkgTokenSpaceGuid.PcdCpuFeaturesCapability|{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

# Set SEV-ES defaults
gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0

## This dynamic PCD hold an address to point to private data structure used in DxeS3BootScriptLib library
# instance which records the S3 boot script table start address, length, etc. To introduce this PCD is
# only for DxeS3BootScriptLib instance implementation purpose. The platform developer should make sure the
# default value is set to Zero. And the PCD is assumed ONLY to be accessed in DxeS3BootScriptLib Library.
# @Prompt S3 Boot Script Table Private Data pointer.
gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0

## This dynamic PCD hold an address to point to private data structure SMM copy used in DxeS3BootScriptLib library
# instance which records the S3 boot script table start address, length, etc. To introduce this PCD is
# only for DxeS3BootScriptLib instance implementation purpose. The platform developer should make sure the
# default value is set to Zero. And the PCD is assumed ONLY to be accessed in DxeS3BootScriptLib Library.
# @Prompt S3 Boot Script Table Private Smm Data pointer.
# @ValidList 0x80000001 | 0x0
gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/** @file
Intel Firmware Version Info (FVI) related definitions.

@todo update document/spec reference

Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent

@par Specification Reference:
System Management BIOS (SMBIOS) Reference Specification v3.0.0 dated 2015-Feb-12
http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdf

**/

#ifndef __FIRMWARE_VERSION_INFO_H__
#define __FIRMWARE_VERSION_INFO_H__

#include <IndustryStandard/SmBios.h>

#define INTEL_FIRMWARE_VERSION_INFO_GROUP_NAME "Firmware Version Info"
#define INTEL_FVI_SMBIOS_TYPE 0xDD

#pragma pack(1)

///
/// Firmware Version Structure
///
typedef struct {
UINT8 MajorVersion;
UINT8 MinorVersion;
UINT8 Revision;
UINT16 BuildNumber;
} INTEL_FIRMWARE_VERSION;

///
/// Firmware Version Info (FVI) Structure
///
typedef struct {
SMBIOS_TABLE_STRING ComponentName; ///< String Index of Component Name
SMBIOS_TABLE_STRING VersionString; ///< String Index of Version String
INTEL_FIRMWARE_VERSION Version; ///< Firmware version
} INTEL_FIRMWARE_VERSION_INFO;

///
/// SMBIOS OEM Type Intel Firmware Version Info (FVI) Structure
///
typedef struct {
SMBIOS_STRUCTURE Header; ///< SMBIOS structure header
UINT8 Count; ///< Number of FVI entries in this structure
INTEL_FIRMWARE_VERSION_INFO Fvi[1]; ///< FVI structure(s)
} SMBIOS_TABLE_TYPE_OEM_INTEL_FVI;

#pragma pack()

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/** @file

Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _FSP_PRODUCER_DATA_HEADER_H_
#define _FSP_PRODUCER_DATA_HEADER_H_

#include <Guid/FspHeaderFile.h>

#define BUILD_TIME_STAMP_SIZE 12

//
// FSP Header Data structure from FspHeader driver.
//
#pragma pack(1)
///
/// FSP Producer Data Subtype - 1
///
typedef struct {
///
/// Byte 0x00: Length of this FSP producer data type record.
///
UINT16 Length;
///
/// Byte 0x02: FSP producer data type.
///
UINT8 Type;
///
/// Byte 0x03: Revision of this FSP producer data type.
///
UINT8 Revision;
///
/// Byte 0x04: 4 byte field of RC version which is used to build this FSP image.
///
UINT32 RcVersion;
///
/// Byte 0x08: Represents the build time stamp "YYYYMMDDHHMM".
///
UINT8 BuildTimeStamp[BUILD_TIME_STAMP_SIZE];
} FSP_PRODUCER_DATA_TYPE1;

///
/// FSP Producer Data Subtype - 2
///
typedef struct {
///
/// Byte 0x00: Length of this FSP producer data type record.
///
UINT16 Length;
///
/// Byte 0x02: FSP producer data type.
///
UINT8 Type;
///
/// Byte 0x03: Revision of this FSP producer data type.
///
UINT8 Revision;
///
/// Byte 0x04: 4 byte field of Mrc version which is used to build this FSP image.
///
UINT8 MrcVersion [4];
} FSP_PRODUCER_DATA_TYPE2;

typedef struct {
FSP_INFO_HEADER FspInfoHeader;
FSP_INFO_EXTENDED_HEADER FspInfoExtendedHeader;
FSP_PRODUCER_DATA_TYPE1 FspProduceDataType1;
FSP_PRODUCER_DATA_TYPE2 FspProduceDataType2;
FSP_PATCH_TABLE FspPatchTable;
} FSP_PRODUCER_DATA_TABLES;
#pragma pack()

#endif // _FSP_PRODUCER_DATA_HEADER_H
48 changes: 48 additions & 0 deletions fsp/arl-s/5083.81/MeteorLakeFspBinPkg/Include/FspUpd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/** @file

Copyright (c) 2025, Intel Corporation. All rights reserved.<BR>

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors may
be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

This file is automatically generated. Please do NOT modify !!!

**/

#ifndef __FSPUPD_H__
#define __FSPUPD_H__

#include <FspEas.h>

#pragma pack(1)

#define FSPT_UPD_SIGNATURE 0x545F4450554C544D /* 'MTLUPD_T' */

#define FSPM_UPD_SIGNATURE 0x4D5F4450554C544D /* 'MTLUPD_M' */

#define FSPS_UPD_SIGNATURE 0x535F4450554C544D /* 'MTLUPD_S' */

#pragma pack()

#endif
Loading
Loading