[U-Boot] ns16550.c compile problem

Wolfgang Denk wd at denx.de
Thu Jun 17 20:36:42 CEST 2010


Dear Sergej.Stepanov at ids.de,

In message <4206182445660643B9AEB8D4E55BBD0A1061C6A812 at HERMES2> you wrote:
> 
> Trying to update u-boot(1.3.3) to u-boot2010 we got the following compile problem:
...
> In file included from ns16550.c:9:
> /home/ste/Develop/u-boot/include/watchdog.h:75: warning: type defaults to 'int' in declaration of 'immap_t'
> /home/ste/Develop/u-boot/include/watchdog.h:75: error: expected ';', ',' or ')' before '*' token
> make[1]: *** [ns16550.o] Fehler 1

Seems your subject line is misleading. This has little to do with
ns16550.c, but more with include/watchdog.h - or more precisely with
incorrect or missing definitions in your board config file.

> It could be fixed with the patch:

NAK.

> Is there are any other way?
> All other serial drivers have the "common.h"-include.

None of the boards that build with this driver have problems - they
all build cleanly.  Why do you think a global file needs changes when
the problem is visible only with a single board, i. e. yours?

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
If you want strict real-time behavior, run in the real  time  schedu-
ling class.  But there are no seatbelts or airbags;  main(){for(;;);}
can hard hang your system.                          -- Bart Smaalders


More information about the U-Boot mailing list