[U-Boot-Users] [PATCH] Bios emulator from Jason Lin

Wolfgang Denk wd at denx.de
Thu Aug 9 23:25:22 CEST 2007


In message <2158.6195-25081-139137623-1186521668 at seznam.cz> you wrote:
> 
> Bios emulator code contains a lot of coding style issues.
> expecially Cute names. Makefile hasn't header, etc...
> 
> 
> Remove problems with warnings and errors for Microblaze cpu.
> 
> Signed-off-by: Michal Simek <monstr at monstr.eu>
> 
> 
> 
> 
> diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c
> index 2a8e1a0..505e4ff 100644
> --- a/drivers/bios_emulator/besys.c
> +++ b/drivers/bios_emulator/besys.c
> @@ -46,6 +46,7 @@
>  *		16 bit of the io port.
>  *
>  ****************************************************************************/
> +#ifdef CONFIG_BIOSEMU
>  
>  #include "biosemui.h"

This cannot work; when adding the #ifdef before the #includes (which
somehwere include <config.h>) CONFIG_BIOSEMU will *never* be defined.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
grep me no patterns and I'll tell you no lines.




More information about the U-Boot mailing list