mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
OvmfPkg: CloudHv: Remove VARS and CODE sections
CloudHv doesn't need any VARS store, and it doesn't need the CODE section to be generated separately either. The only thing needed is to generate a firmware binary that can be used by Cloud Hypervisor. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
0015a4e0a8
commit
9ac8c85d50
@ -24,38 +24,10 @@ ErasePolarity = 1
|
|||||||
BlockSize = $(BLOCK_SIZE)
|
BlockSize = $(BLOCK_SIZE)
|
||||||
NumBlocks = $(FW_BLOCKS)
|
NumBlocks = $(FW_BLOCKS)
|
||||||
|
|
||||||
!include OvmfPkg/VarStore.fdf.inc
|
|
||||||
|
|
||||||
$(VARS_SIZE)|$(FVMAIN_SIZE)
|
|
||||||
FV = FVMAIN_COMPACT
|
|
||||||
|
|
||||||
$(SECFV_OFFSET)|$(SECFV_SIZE)
|
|
||||||
FV = SECFV
|
|
||||||
|
|
||||||
#
|
|
||||||
# Build the variable store and the firmware code as separate flash device
|
|
||||||
# images.
|
|
||||||
#
|
|
||||||
[FD.CLOUDHV_VARS]
|
|
||||||
BaseAddress = $(FW_BASE_ADDRESS)
|
|
||||||
Size = $(VARS_SIZE)
|
|
||||||
ErasePolarity = 1
|
|
||||||
BlockSize = $(BLOCK_SIZE)
|
|
||||||
NumBlocks = $(VARS_BLOCKS)
|
|
||||||
|
|
||||||
!include OvmfPkg/VarStore.fdf.inc
|
|
||||||
|
|
||||||
[FD.CLOUDHV_CODE]
|
|
||||||
BaseAddress = $(CODE_BASE_ADDRESS)
|
|
||||||
Size = $(CODE_SIZE)
|
|
||||||
ErasePolarity = 1
|
|
||||||
BlockSize = $(BLOCK_SIZE)
|
|
||||||
NumBlocks = $(CODE_BLOCKS)
|
|
||||||
|
|
||||||
0x00000000|$(FVMAIN_SIZE)
|
0x00000000|$(FVMAIN_SIZE)
|
||||||
FV = FVMAIN_COMPACT
|
FV = FVMAIN_COMPACT
|
||||||
|
|
||||||
$(FVMAIN_SIZE)|$(SECFV_SIZE)
|
$(SECFV_OFFSET)|$(SECFV_SIZE)
|
||||||
FV = SECFV
|
FV = SECFV
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user