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>
BlockSize = $(BLOCK_SIZE)\r
NumBlocks = $(FW_BLOCKS)\r
\r
BlockSize = $(BLOCK_SIZE)\r
NumBlocks = $(FW_BLOCKS)\r
\r
-!include OvmfPkg/VarStore.fdf.inc\r
-\r
-$(VARS_SIZE)|$(FVMAIN_SIZE)\r
-FV = FVMAIN_COMPACT\r
-\r
-$(SECFV_OFFSET)|$(SECFV_SIZE)\r
-FV = SECFV\r
-\r
-#\r
-# Build the variable store and the firmware code as separate flash device\r
-# images.\r
-#\r
-[FD.CLOUDHV_VARS]\r
-BaseAddress = $(FW_BASE_ADDRESS)\r
-Size = $(VARS_SIZE)\r
-ErasePolarity = 1\r
-BlockSize = $(BLOCK_SIZE)\r
-NumBlocks = $(VARS_BLOCKS)\r
-\r
-!include OvmfPkg/VarStore.fdf.inc\r
-\r
-[FD.CLOUDHV_CODE]\r
-BaseAddress = $(CODE_BASE_ADDRESS)\r
-Size = $(CODE_SIZE)\r
-ErasePolarity = 1\r
-BlockSize = $(BLOCK_SIZE)\r
-NumBlocks = $(CODE_BLOCKS)\r
-\r
0x00000000|$(FVMAIN_SIZE)\r
FV = FVMAIN_COMPACT\r
\r
0x00000000|$(FVMAIN_SIZE)\r
FV = FVMAIN_COMPACT\r
\r
-$(FVMAIN_SIZE)|$(SECFV_SIZE)\r
+$(SECFV_OFFSET)|$(SECFV_SIZE)\r
FV = SECFV\r
\r
################################################################################\r
FV = SECFV\r
\r
################################################################################\r