QuarkPlatformPkg: Add new package for Galileo boards
Changes for V4 ============== 1) Move delete of QuarkSocPkg\QuarkNorthCluster\Binary\QuarkMicrocode from QuarkPlatformPkg commit to QuarkSocPkg commit 2) Fix incorrect license header in PlatformSecLibModStrs.uni Changes for V3 ============== 1) Set PcdResetOnMemoryTypeInformationChange FALSE in QuarkMin.dsc This is required because QuarkMin.dsc uses the emulated variable driver that does not preserve any non-volatile UEFI variables across reset. If the condition is met where the memory type information variable needs to be updated, then the system will reset every time the UEFI Shell is run. By setting this PCD to FALSE, then reset action is disabled. 2) Move one binary file to QuarkSocBinPkg 3) Change RMU.bin FILE statements to INF statement in DSC FD region to be compatible with PACKAGES_PATH search for QuarkSocBinPkg Changes for V2 ============== 1) Use new generic PCI serial driver PciSioSerialDxe in MdeModulePkg 2) Configure PcdPciSerialParameters for PCI serial driver for Quark 3) Use new MtrrLib API to reduce time to set MTRRs for all DRAM 4) Convert all UNI files to utf-8 5) Replace tabs with spaces and remove trailing spaces 6) Add License.txt Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Acked-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19287 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
29
QuarkPlatformPkg/Include/Guid/CapsuleOnDataCD.h
Normal file
29
QuarkPlatformPkg/Include/Guid/CapsuleOnDataCD.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/** @file
|
||||
Capsule on Data CD GUID.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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.
|
||||
|
||||
This is the contract between the recovery module and device recovery module
|
||||
in order to convey the name of a given recovery module type
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _CAPSULE_ON_DATA_CD_H
|
||||
#define _CAPSULE_ON_DATA_CD_H
|
||||
|
||||
#define PEI_CAPSULE_ON_DATA_CD_GUID \
|
||||
{ \
|
||||
0x5cac0099, 0x0dc9, 0x48e5, {0x80, 0x68, 0xbb, 0x95, 0xf5, 0x40, 0x0a, 0x9f } \
|
||||
};
|
||||
|
||||
extern EFI_GUID gPeiCapsuleOnDataCDGuid;
|
||||
|
||||
#endif
|
29
QuarkPlatformPkg/Include/Guid/CapsuleOnFatFloppyDisk.h
Normal file
29
QuarkPlatformPkg/Include/Guid/CapsuleOnFatFloppyDisk.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/** @file
|
||||
Capsule on Fat Floppy Disk GUID.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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.
|
||||
|
||||
This is the contract between the recovery module and device recovery module
|
||||
in order to convey the name of a given recovery module type
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _CAPSULE_ON_FAT_FLOPPY_DISK_H
|
||||
#define _CAPSULE_ON_FAT_FLOPPY_DISK_H
|
||||
|
||||
#define PEI_CAPSULE_ON_FAT_FLOPPY_DISK_GUID \
|
||||
{ \
|
||||
0x2e3d2e75, 0x9b2e, 0x412d, {0xb4, 0xb1, 0x70, 0x41, 0x6b, 0x87, 0x0, 0xff }\
|
||||
};
|
||||
|
||||
extern EFI_GUID gPeiCapsuleOnFatFloppyDiskGuid;
|
||||
|
||||
#endif
|
30
QuarkPlatformPkg/Include/Guid/CapsuleOnFatIdeDisk.h
Normal file
30
QuarkPlatformPkg/Include/Guid/CapsuleOnFatIdeDisk.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/** @file
|
||||
Capsule on Fat Ide Disk GUID.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
This is the contract between the recovery module and device recovery module
|
||||
in order to convey the name of a given recovery module type
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _CAPSULE_ON_FAT_IDE_DISK_H
|
||||
#define _CAPSULE_ON_FAT_IDE_DISK_H
|
||||
|
||||
#define PEI_CAPSULE_ON_FAT_IDE_DISK_GUID \
|
||||
{ \
|
||||
0xb38573b6, 0x6200, 0x4ac5, {0xb5, 0x1d, 0x82, 0xe6, 0x59, 0x38, 0xd7, 0x83 }\
|
||||
};
|
||||
|
||||
extern EFI_GUID gPeiCapsuleOnFatIdeDiskGuid;
|
||||
|
||||
#endif
|
30
QuarkPlatformPkg/Include/Guid/CapsuleOnFatUsbDisk.h
Normal file
30
QuarkPlatformPkg/Include/Guid/CapsuleOnFatUsbDisk.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/** @file
|
||||
Capsule on Fat Usb Disk GUID.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
This is the contract between the recovery module and device recovery module
|
||||
in order to convey the name of a given recovery module type
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _PEI_CAPSULE_ON_FAT_USB_DISK_H
|
||||
#define _PEI_CAPSULE_ON_FAT_USB_DISK_H
|
||||
|
||||
#define PEI_CAPSULE_ON_FAT_USB_DISK_GUID \
|
||||
{ \
|
||||
0x0ffbce19, 0x324c, 0x4690, {0xa0, 0x09, 0x98, 0xc6, 0xae, 0x2e, 0xb1, 0x86 } \
|
||||
};
|
||||
|
||||
extern EFI_GUID gPeiCapsuleOnFatUsbDiskGuid;
|
||||
|
||||
#endif
|
29
QuarkPlatformPkg/Include/Guid/MemoryConfigData.h
Normal file
29
QuarkPlatformPkg/Include/Guid/MemoryConfigData.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/** @file
|
||||
Define a GUID name for GUID HOB which is used to pass Memory
|
||||
Configuration Data information to different modules.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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 _MEMORY_CONFIG_DATA_H_
|
||||
#define _MEMORY_CONFIG_DATA_H_
|
||||
|
||||
#define EFI_MEMORY_CONFIG_DATA_GUID \
|
||||
{ \
|
||||
0x80dbd530, 0xb74c, 0x4f11, {0x8c, 0x03, 0x41, 0x86, 0x65, 0x53, 0x28, 0x31 } \
|
||||
}
|
||||
|
||||
#define EFI_MEMORY_CONFIG_DATA_NAME L"MemoryConfig"
|
||||
|
||||
extern EFI_GUID gEfiMemoryConfigDataGuid;
|
||||
|
||||
#endif
|
52
QuarkPlatformPkg/Include/Guid/QuarkCapsuleGuid.h
Normal file
52
QuarkPlatformPkg/Include/Guid/QuarkCapsuleGuid.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/** @file
|
||||
|
||||
Capsule format guid for Quark capsule image.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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 _QUARK_CAPSULE_GUID_H_
|
||||
#define _QUARK_CAPSULE_GUID_H_
|
||||
|
||||
#define QUARK_CAPSULE_GUID \
|
||||
{ 0xd400d1e4, 0xa314, 0x442b, { 0x89, 0xed, 0xa9, 0x2e, 0x4c, 0x81, 0x97, 0xcb } }
|
||||
|
||||
#define SMI_INPUT_UPDATE_CAP 0x27
|
||||
#define SMI_INPUT_GET_CAP 0x28
|
||||
|
||||
#define SMI_CAP_FUNCTION 0xEF
|
||||
|
||||
#pragma pack(1)
|
||||
typedef struct {
|
||||
UINT64 Address;
|
||||
UINT32 BufferOffset;
|
||||
UINT32 Size;
|
||||
UINT32 Flags;
|
||||
UINT32 Reserved;
|
||||
} CAPSULE_FRAGMENT;
|
||||
|
||||
typedef struct {
|
||||
UINTN CapsuleLocation; // Top of the capsule that point to structure CAPSULE_FRAGMENT
|
||||
UINTN CapsuleSize; // Size of the capsule
|
||||
EFI_STATUS Status; // Returned status
|
||||
} CAPSULE_INFO_PACKET;
|
||||
|
||||
typedef struct {
|
||||
UINTN BlocksCompleted; // # of blocks processed
|
||||
UINTN TotalBlocks; // Total # of blocks to be processed
|
||||
EFI_STATUS Status; // returned status
|
||||
} UPDATE_STATUS_PACKET;
|
||||
#pragma pack()
|
||||
|
||||
extern EFI_GUID gEfiQuarkCapsuleGuid;
|
||||
|
||||
#endif
|
29
QuarkPlatformPkg/Include/Guid/QuarkVariableLock.h
Normal file
29
QuarkPlatformPkg/Include/Guid/QuarkVariableLock.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/** @file
|
||||
|
||||
Guid and variable name used to trigger quark lock of specific UEFI variables.
|
||||
|
||||
Copyright (c) 2013 Intel Corporation.
|
||||
|
||||
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 _QUARK_VARIABLE_LOCK_GUID_H_
|
||||
#define _QUARK_VARIABLE_LOCK_GUID_H_
|
||||
|
||||
#define QUARK_VARIABLE_LOCK_GUID \
|
||||
{ \
|
||||
0xeef749c2, 0xc047, 0x4d6e, { 0xb1, 0xbc, 0xd3, 0x6e, 0xb3, 0xa5, 0x55, 0x9c } \
|
||||
}
|
||||
|
||||
#define QUARK_VARIABLE_LOCK_NAME L"QuarkVariableLock"
|
||||
|
||||
extern EFI_GUID gQuarkVariableLockGuid;
|
||||
|
||||
#endif
|
35
QuarkPlatformPkg/Include/Guid/SystemNvDataHobGuid.h
Normal file
35
QuarkPlatformPkg/Include/Guid/SystemNvDataHobGuid.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/** @file
|
||||
GUIDs used for System Non Volatile HOB entries in the in the HOB list and FV Guids carrying
|
||||
the System specific information.
|
||||
|
||||
Copyright (c) 2013-2015 Intel Corporation.
|
||||
|
||||
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 _SYSTEM_NV_DATA_HOB_GUID_H_
|
||||
#define _SYSTEM_NV_DATA_HOB_GUID_H_
|
||||
|
||||
#define EFI_SYSTEM_NV_DATA_HOB_GUID \
|
||||
{0xd6e5092d, 0xc7b2, 0x4872, {0xaf, 0x66, 0xfd, 0xc0, 0xe6, 0xf9, 0x5e, 0x78}}
|
||||
|
||||
typedef struct {
|
||||
EFI_GUID SystemNvDataHobGuid;
|
||||
EFI_GUID SystemNvDataFvGuid;
|
||||
EFI_LBA StartLba;
|
||||
UINTN StartLbaOffset;
|
||||
EFI_LBA EndLba;
|
||||
UINTN EndLbaOffset;
|
||||
UINT32 DataTypeSignature;
|
||||
} NV_SYSTEM_DATA_GUID_TYPE;
|
||||
|
||||
extern EFI_GUID gEfiSystemNvDataHobGuid;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user