payload/tianocore: Drop TIANOCORE_TARGET_IA32

Since upstream edk2 totally drop 32-bit support for UefiPayload, totaly drop it.

Test: Build and run qemu successful boot up into EFI shell with UEFIPAYLOAD option.

Change-Id: Iadd9a3c455fad4eede8a0a017415acd2c57fba04
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54189
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Lijian Zhao 2021-05-12 23:43:46 +08:00 committed by Patrick Georgi
parent 1e0f77fa03
commit 943e479b3e
2 changed files with 1 additions and 30 deletions

View File

@ -34,29 +34,6 @@ config TIANOCORE_REVISION_ID
The commit's SHA-1 or branch name of the revision to use. Choose "upstream/master"
for master branch of Tianocore release on github.
choice
prompt "Target architecture"
default TIANOCORE_TARGET_X64
help
The Tianocore coreboot Payload Package binary can be
built for either only IA32 or both X64 and IA32 architectures.
Select which architecture(s) to build for; default is to build
for both X64 and IA32.
config TIANOCORE_TARGET_IA32
bool "IA32"
help
By selecting this option, the target architecture will be built
for only IA32.
config TIANOCORE_TARGET_X64
bool "X64"
help
By selecting this option, the target architecture will be built
for X64 and IA32.
endchoice
choice
prompt "Tianocore build"
default TIANOCORE_RELEASE

View File

@ -32,13 +32,7 @@ endif
TIMEOUT=-D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
ifeq ($(CONFIG_TIANOCORE_TARGET_IA32), y)
ARCH=-a IA32
else
ARCH=-a IA32 -a X64
endif
BUILD_STR=-q $(ARCH) -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor)
BUILD_STR=-q -a IA32 -a X64 -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor)
all: clean build