## @file # FDF file of Platform. # # @copyright # INTEL CONFIDENTIAL # Copyright 2020 - 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 a 'Sample Driver' and is licensed as such under the terms # of your license agreement with Intel or your vendor. This file may be modified # by the user, subject to the additional terms of the license agreement. # # @par Specification ## #=================================================================================# # 16 MB BIOS - for FSP wrapper #=================================================================================# DEFINE FLASH_BASE = 0xFF000000 # DEFINE FLASH_SIZE = 0x01000000 # DEFINE FLASH_BLOCK_SIZE = 0x00010000 # DEFINE FLASH_NUM_BLOCKS = 0x00000100 # DEFINE ACM_ALIGNMENT_ON_FV_BASE = 256K # #=================================================================================# #=================================================================================# SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageOffset = 0x00000000 # Flash addr (0xFF000000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageSize = 0x00060000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageVariableOffset = 0x00000000 # Flash addr (0xFF000000) SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize = 0x0002E000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingOffset = 0x0002E000 # Flash addr (0xFF02E000) SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = 0x00002000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareOffset = 0x00030000 # Flash addr (0xFF030000) SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize = 0x00030000 # # # OBB - Begin # SET gBoardModuleTokenSpaceGuid.PcdFlashObbOffset = 0x00060000 # Flash addr (0xFF060000) SET gBoardModuleTokenSpaceGuid.PcdFlashObbSize = 0x009A0000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedOffset = 0x000E0000 # Flash addr (0xFF0E0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedSize = 0x00210000 # SET gBoardModuleTokenSpaceGuid.PcdFlashFvOptionalOffset = 0x002F0000 # Flash addr (0xFF2F0000) SET gBoardModuleTokenSpaceGuid.PcdFlashFvOptionalSize = 0x00350000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecurityOffset = 0x00640000 # Flash addr (0xFF640000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecuritySize = 0x00090000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootOffset = 0x006D0000 # Flash addr (0xFF6D0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootSize = 0x00070000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootOffset = 0x00740000 # Flash addr (0xFF740000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootSize = 0x001C0000 # # # OBB - End # # # IBB - Begin # (Note : IBB here is referenced for capsule update solution. BIOS_INFO defines IBB for Secure Boot) # SET gBoardModuleTokenSpaceGuid.PcdFlashIbbOffset = 0x00900000 # Flash addr (0xFF900000) SET gBoardModuleTokenSpaceGuid.PcdFlashIbbSize = 0x00700000 # SET gBoardModuleTokenSpaceGuid.PcdFlashFvRsvdOffset = 0x00900000 # Flash addr (0xFF9C0000) SET gBoardModuleTokenSpaceGuid.PcdFlashFvRsvdSize = 0x00000000 # ## Firmware binaries FV absolute address requires (256KB align - ACM_ALIGNMENT_ON_FV_BASE). ## Today's ADL uses ACM_ALIGNMENT_ON_FV_BASE = 256KB for an effective use of flash space based on the FV layout. ## so set Firmware binaries FV Offset in 256KB aligned i.e. 0x00N00000,0x00N40000,0x00N80000,or 0x00NC0000. ## Build script checks the requirement. SET gBoardModuleTokenSpaceGuid.PcdFlashFvFirmwareBinariesOffset = 0x00900000 # Flash addr (0xFF900000) SET gBoardModuleTokenSpaceGuid.PcdFlashFvFirmwareBinariesSize = 0x00080000 # Keep 0x80000 or larger SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeOffset = 0x00980000 # Flash addr (0xFF980000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize = 0x00230000 # reserver as more blocks as possible for microcode SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemoryOffset = 0x00BB0000 # Flash addr (0xFFBB0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemorySize = 0x00040000 # SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSOffset = 0x00BF0000 # Flash addr (0xFFBF0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSSize = 0x000A0000 SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMOffset = 0x00C90000 # Flash addr (0xFFC90000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMSize = 0x00250000 SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTOffset = 0x00EE0000 # Flash addr (0xFFEE0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTSize = 0x00010000 SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryOffset = 0x00EF0000 # Flash addr (0xFFEF0000) SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemorySize = 0x00110000 # # # IBB - End #