1#/** @file 2# AmdStyx package. 3# 4# Copyright (c) 2014 - 2016, AMD Inc. All rights reserved. 5# 6# This program and the accompanying materials are licensed and made 7# available under the terms and conditions of the BSD License which 8# accompanies this distribution. The full text of the license may be 9# found at http://opensource.org/licenses/bsd-license.php 10# 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13# 14#**/ 15 16[Defines] 17 DEC_SPECIFICATION = 0x00010005 18 PACKAGE_NAME = AmdStyx 19 PACKAGE_GUID = 58353cd1-61fb-4f9e-93f7-c43961d39b01 20 PACKAGE_VERSION = 0.1 21 22[Includes] 23 Common 24 25[LibraryClasses] 26 27[Ppis] 28 gAmdStyxPlatInitPpiGuid = { 0xcbff429c, 0xd3e3, 0x4c50, { 0xac, 0x1a, 0x1c, 0xd2, 0xfe, 0x15, 0x1a, 0xd7 } } 29 30[Protocols] 31 gAmdMpBootProtocolGuid = { 0xe21eac84, 0x9fbf, 0x4808, { 0x83, 0x93, 0xe1, 0x93, 0x97, 0x23, 0x48, 0xab } } 32 gAmdMpCoreInfoProtocolGuid = { 0x0dba25f8, 0x2da1, 0x4ec5, { 0x89, 0x5d, 0x32, 0x1e, 0xd6, 0x1e, 0x3f, 0x43 } } 33 34[Guids] 35 gAmdStyxTokenSpaceGuid = { 0x220d9653, 0x4a0e, 0x40bc, { 0xb3, 0x65, 0x2f, 0xbb, 0xa2, 0xd9, 0x03, 0x45 } } 36 gAmdStyxMpCoreInfoGuid = { 0x68efeabd, 0xcb77, 0x4aa5, { 0xbf, 0x0c, 0xa3, 0x31, 0xfc, 0xcf, 0x76, 0x66 } } 37 38[PcdsDynamic] 39 gAmdStyxTokenSpaceGuid.PcdSocCoreCount|1|UINT32|0x00000100 40 gAmdStyxTokenSpaceGuid.PcdSocCpuId|1|UINT32|0x00000101 41 42 gAmdStyxTokenSpaceGuid.PcdEthMacA|0|UINT64|0x000d0001 43 gAmdStyxTokenSpaceGuid.PcdEthMacB|0|UINT64|0x000d0002 44 45[PcdsFixedAtBuild] 46 # CPUID Register 47 gAmdStyxTokenSpaceGuid.PcdCpuIdRegister|0xE0000010|UINT32|0x00000200 48 49 # FDT support 50 gAmdStyxTokenSpaceGuid.PcdStyxFdt|{ 0xe4, 0x08, 0x0d, 0x04, 0x9a, 0x47, 0x4b, 0x42, 0x8c, 0x42, 0x36, 0x64, 0xdf, 0x79, 0x3f, 0x4b }|VOID*|0x00010000 51 52 # Synopsys SATA Controller 53 gAmdStyxTokenSpaceGuid.PcdSata0CtrlAxiSlvPort|0xE0300000|UINT32|0x00020000 54 gAmdStyxTokenSpaceGuid.PcdSata0PortCount|8|UINT8|0x00020001 55 gAmdStyxTokenSpaceGuid.PcdSataPi|0xFF|UINT32|0x00020002 56 gAmdStyxTokenSpaceGuid.PcdSataPortMode|0|UINT16|0x00020003 57 gAmdStyxTokenSpaceGuid.PcdSataPortMpsp|TRUE|BOOLEAN|0x00020004 58 gAmdStyxTokenSpaceGuid.PcdSataSmpsSupport|FALSE|BOOLEAN|0x00020005 59 gAmdStyxTokenSpaceGuid.PcdSataSssSupport|TRUE|BOOLEAN|0x00020006 60 gAmdStyxTokenSpaceGuid.PcdSataPortCpd|TRUE|BOOLEAN|0x00020007 61 gAmdStyxTokenSpaceGuid.PcdSata1CtrlAxiSlvPort|0xE0D00000|UINT32|0x00020008 62 gAmdStyxTokenSpaceGuid.PcdSata1PortCount|8|UINT8|0x00020009 63 64 # UART 65 gAmdStyxTokenSpaceGuid.PcdSerialDbgRegisterBase|0xE1010000|UINT64|0x00030000 66 gAmdStyxTokenSpaceGuid.PcdUartDbgBaudRate|115200|UINT32|0x00030001 67 68 # GIC 69 gAmdStyxTokenSpaceGuid.PcdGicVersion|0x2|UINT8|0x00040000 70 gAmdStyxTokenSpaceGuid.PcdGicHypervisorInterruptInterfaceBase|0xE1140000|UINT64|0x00040001 71 gAmdStyxTokenSpaceGuid.PcdGicVirtualInterruptInterfaceBase|0xE116F000|UINT64|0x00040002 72 gAmdStyxTokenSpaceGuid.PcdGicVirtualMaintenanceInterrupt|25|UINT32|0x00040003 73 gAmdStyxTokenSpaceGuid.PcdGicVirtualRegisterInterfaceBase|0x00000000|UINT64|0x00040004 74 gAmdStyxTokenSpaceGuid.PcdGicMSIFrameBase|0xE1180000|UINT64|0x00040005 75 76 # Timers (GTDT) 77 gAmdStyxTokenSpaceGuid.PcdCntControlBase|0xFFFFFFFFFFFFFFFF|UINT64|0x00050000 78 gAmdStyxTokenSpaceGuid.PcdCntReadBase|0x00000000E0B90000|UINT64|0x00050001 79 gAmdStyxTokenSpaceGuid.PcdCntCTLBase|0x00000000E0BD0000|UINT64|0x00050002 80 gAmdStyxTokenSpaceGuid.PcdCntBase0|0x00000000E0BE0000|UINT64|0x00050003 81 gAmdStyxTokenSpaceGuid.PcdCntEL0Base0|0x00000000E0BF0000|UINT64|0x00050004 82 gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogRefreshBase|0x00000000E0BB0000|UINT64|0x00050005 83 gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogControlBase|0x00000000E0BC0000|UINT64|0x00050006 84 gAmdStyxTokenSpaceGuid.PcdSbsaWakeUpGSIV|371|UINT32|0x00050007 85 gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogGSIV|369|UINT32|0x00050008 86 87 # Trusted-Firmware 88 gAmdStyxTokenSpaceGuid.PcdTrustedFWSupport|TRUE|BOOLEAN|0x00060000 89 gAmdStyxTokenSpaceGuid.PcdTrustedFWMemoryBase|0x8000000000|UINT64|0x00060001 90 gAmdStyxTokenSpaceGuid.PcdTrustedFWMemorySize|0xE80000|UINT64|0x0006002 91 92 # ISCP 93 gAmdStyxTokenSpaceGuid.PcdIscpSupport|TRUE|BOOLEAN|0x00070000 94 95 # PSCI 96 gAmdStyxTokenSpaceGuid.PcdPsciOsSupport|TRUE|BOOLEAN|0x00080000 97 gAmdStyxTokenSpaceGuid.PcdPsciCpuOnContext|0|UINT64|0x00080001 98 99 # Cores Per cluster 100 gAmdStyxTokenSpaceGuid.PcdSocCoresPerCluster|2|UINT32|0x00090000 101 102 # UEFI entry point 103 gAmdStyxTokenSpaceGuid.PcdUefiEntryAddress|0x8000E80000|UINT64|0x000a0000 104 105 # Parking Protocol 106 gAmdStyxTokenSpaceGuid.PcdParkingProtocolVersion|1|UINT32|0x000b0000 107 108 # The original offset in memory of the NV store firmware volume, before 109 # relocating it to a dynamically allocated buffer. We need this to correlate 110 # flash accesses to the in-memory copy with LBAs in the actual SPI flash 111 gAmdStyxTokenSpaceGuid.PcdFlashNvStorageOriginalBase|0|UINT64|0x000c0000 112 # block size to use when invoking the ISCP FV methods 113 gAmdStyxTokenSpaceGuid.PcdFlashNvStorageBlockSize|0x1000|UINT32|0x000c0001 114