[U-Boot-Users] [PATCH] Add CONFIG_BIOSEMU define to guard all the bios emulator code

Jerry Van Baren gvb.uboot at gmail.com
Tue Aug 7 16:21:50 CEST 2007


Jason Jin wrote:
> This patch fix the compile issue on the board that did not enable the bios emulator
> ---

Fixes a bad brokenness, should be applied ASAP.

Acked-by: Jerry Van Baren <vanbaren at cideas.com>

>  drivers/bios_emulator/besys.c           |    2 ++
>  drivers/bios_emulator/bios.c            |    2 ++
>  drivers/bios_emulator/biosemu.c         |    3 +++
>  drivers/bios_emulator/x86emu/debug.c    |    4 ++++
>  drivers/bios_emulator/x86emu/decode.c   |    4 ++++
>  drivers/bios_emulator/x86emu/ops.c      |    5 +++++
>  drivers/bios_emulator/x86emu/ops2.c     |    4 ++++
>  drivers/bios_emulator/x86emu/prim_ops.c |    4 ++++
>  drivers/bios_emulator/x86emu/sys.c      |    4 ++++
>  9 files changed, 32 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c
> index 2a8e1a0..4c4bc8d 100644
> --- a/drivers/bios_emulator/besys.c
> +++ b/drivers/bios_emulator/besys.c
> @@ -49,6 +49,7 @@
>  
>  #include "biosemui.h"
>  
> +#if defined(CONFIG_BIOSEMU)

[snip rest of same]




More information about the U-Boot mailing list