[QEMU] Allow building with the debug FSP

Fix two errors that prevent building QEMU SBL with the debug FSP on Linux:
- 0001-Build-QEMU-FSP-2.0-binaries.patch adds a variable "RegMask8" to
  FspmInitEntryPoint() that is written but not read; GCC treats this as
  an error;
- the resulting STAGE2 binary is larger than the 0x18000 bytes allocated
  for it.

Signed-off-by: Bruno Achauer <bruno.achauer@intel.com>
This commit is contained in:
Bruno Achauer 2022-10-18 17:26:39 +02:00 committed by Guo Dong
parent bac196577b
commit aac41f89ea
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
## @file
# This file is used to provide board specific image information.
#
# Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
@ -105,7 +105,7 @@ class Board(BaseBoard):
if self.NO_OPT_MODE:
self.STAGE1A_SIZE += 0x1000
self.STAGE1B_SIZE = 0x00030000
self.STAGE2_SIZE = 0x00018000
self.STAGE2_SIZE = 0x0001A000
self.TEST_SIZE = 0x00001000
self.SIIPFW_SIZE = 0x00010000