The primary FV contains the firmware boot image, which is not runtime updatable in our case. So exposing it to the NOR flash driver is undesirable, since it may attempt to modify the NOR flash contents. It is also rather pointless, since we don't keep anything there that we care to expose. (the SEC and PEI phase modules are not executable from DXE context, and the contents of the embedded DXE phase FV are exposed by the DXE core directly via the FVB2 protocol) So let's disregard the NOR flash block that covers the primary FV. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
48 lines
1.3 KiB
INI
48 lines
1.3 KiB
INI
#/** @file
|
|
#
|
|
# Component description file for NorFlashQemuLib module
|
|
#
|
|
# Copyright (c) 2014, Linaro Ltd. 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.
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = NorFlashQemuLib
|
|
FILE_GUID = 339B7829-4C5F-4EFC-B2DD-5050E530DECE
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = NorFlashPlatformLib
|
|
|
|
[Sources.common]
|
|
NorFlashQemuLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
DebugLib
|
|
UefiBootServicesTableLib
|
|
|
|
[Protocols]
|
|
gFdtClientProtocolGuid ## CONSUMES
|
|
|
|
[Depex]
|
|
gFdtClientProtocolGuid
|
|
|
|
[Pcd]
|
|
gArmTokenSpaceGuid.PcdFvBaseAddress
|
|
gArmTokenSpaceGuid.PcdFvSize
|