u-boot/arch/x86
Bin Meng cfa5189811 x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used
With x86 we can execute an option ROM either natively or using the
x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share
the _X86EMU_env variable, with the native code using it to hold
register state during interrupt processing.

At present, in 32-bit U-Boot, the variable is declared twice, once
in common code and once in code only compiled with CONFIG_BIOSEMU.

With GCC 11 this causes a 'multiple definitions' error on boards
with CONFIG_BIOSEMU.

Drop the emulator definition when CONFIG_BIOSEMU is used.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2021-07-07 10:17:54 -04:00
..
cpu bootstage: Eliminate when not enabled 2021-07-07 10:17:54 -04:00
dts x86: coral: Show memory config and SKU ID on startup 2021-03-27 16:26:48 +13:00
include/asm lmb: move CONFIG_LMB in Kconfig 2021-04-22 14:09:45 -04:00
lib x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used 2021-07-07 10:17:54 -04:00
config.mk Add support for stack-protector 2021-04-20 07:31:12 -04:00
Kconfig x86: Move coreboot sysinfo parsing into generic x86 code 2021-03-27 13:59:59 +13:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00