]> git.dujemihanovic.xyz Git - u-boot.git/commit
bios_emulator: Allow x86 to use the emulator
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 03:56:39 +0000 (20:56 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 14:11:16 +0000 (07:11 -0700)
commitad6edca379117d52da373818a5db3027da2ad14b
treedbee60341b51e7a2ae7e6af5953f4d81d5644972
parent62d0c5e15347f0ab9998d8bac2845be0d441c8b1
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>
drivers/bios_emulator/Makefile
drivers/bios_emulator/besys.c
drivers/bios_emulator/include/x86emu.h
drivers/bios_emulator/x86emu/debug.c