mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 00:11:48 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user