mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
f4d227c99f
Most EFI implementations use 64-bit but U-Boot only supports running as a 32-bit app at present. While efi-x86_payload64 does boot from 64-bit UEFI it immediately changes back to 32-bit before starting U-Boot. In order to support a 64-bit U-Boot app, update the Kconfig to add an option for 32/64 bit. Update the prompt for the existing option so it is clear it relates to the stub. Move both up to just under the choice that controls them, since this looks better and the menu. Use CONFIG_EFI_APP in the Makefile instead of CONFIG_TARGET_EFI_APP, since the latter is specific to a single target and we will have two. Memory size is set to 32MB for now so that it can run on qemu without increasing the default memory size. We may need to increase the default later. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
46 lines
1,012 B
Makefile
46 lines
1,012 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2016 Google, Inc
|
|
|
|
obj-$(CONFIG_INTEL_ACPIGEN) += acpi.o
|
|
|
|
ifdef CONFIG_HAVE_MRC
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_16BIT_INIT) += car.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += me_status.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += report_platform.o
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += mrc.o
|
|
endif
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_INTEL_GMA_ACPI) += intel_opregion.o
|
|
endif
|
|
|
|
ifdef CONFIG_INTEL_CAR_CQOS
|
|
obj-$(CONFIG_TPL_BUILD) += car2.o
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += car2_uninit.o
|
|
endif
|
|
endif
|
|
|
|
obj-y += cpu.o
|
|
obj-y += fast_spi.o
|
|
obj-y += lpc.o
|
|
obj-y += lpss.o
|
|
obj-$(CONFIG_$(SPL_)INTEL_GENERIC_WIFI) += generic_wifi.o
|
|
ifndef CONFIG_EFI_APP
|
|
obj-$(CONFIG_$(SPL_TPL_)X86_32BIT_INIT) += microcode.o
|
|
ifndef CONFIG_$(SPL_)X86_64
|
|
obj-y += microcode.o
|
|
endif
|
|
endif
|
|
obj-y += pch.o
|
|
obj-$(CONFIG_HAVE_ITSS) += itss.o
|
|
obj-$(CONFIG_HAVE_P2SB) += p2sb.o
|
|
|
|
ifdef CONFIG_SPL
|
|
ifndef CONFIG_SPL_BUILD
|
|
ifndef CONFIG_SYS_COREBOOT
|
|
obj-y += cpu_from_spl.o
|
|
endif
|
|
endif
|
|
endif
|