mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Add CONFIG_BIOSEMU define to guard all the bios emulator code
Signed-off-by: Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
This commit is contained in:
parent
ed81064335
commit
ce981dc857
9 changed files with 32 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
|||
#include "x86emu/x86emui.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined(CONFIG_BIOSEMU)
|
||||
|
||||
/*----------------------------- Implementation ----------------------------*/
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -459,3 +461,5 @@ void x86emu_dump_xregs(void)
|
|||
printk("NC ");
|
||||
printk("\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue