diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-14 20:56:39 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-25 07:11:16 -0700 |
commit | ad6edca379117d52da373818a5db3027da2ad14b (patch) | |
tree | dbee60341b51e7a2ae7e6af5953f4d81d5644972 /drivers/bios_emulator/Makefile | |
parent | 62d0c5e15347f0ab9998d8bac2845be0d441c8b1 (diff) | |
download | u-boot-ad6edca379117d52da373818a5db3027da2ad14b.tar.gz |
bios_emulator: Allow x86 to use the emulator
There is an implicit assumption that x86 machines want to use raw I/O in the
BIOS emulator, but this should be selectable. Add an CONFIG_X86EMU_RAW_IO
option to control it instead.
Also fix a few bugs which cause warnings on x86 and adjust the Makefile to
remove the assumption that only PowerPC uses the emulator.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/bios_emulator/Makefile')
-rw-r--r-- | drivers/bios_emulator/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile index e56356ee86..2ba43ac731 100644 --- a/drivers/bios_emulator/Makefile +++ b/drivers/bios_emulator/Makefile @@ -9,4 +9,4 @@ obj-y = atibios.o biosemu.o besys.o bios.o \ $(X86DIR)/debug.o ccflags-y := -I$(srctree)/$(src) -I$(srctree)/$(src)/include \ - -D__PPC__ -D__BIG_ENDIAN__ + $(if $(CONFIG_PPC),-D__PPC__ -D__BIG_ENDIAN__) |