Dear sergej.stepa...@ids.de, In message <4206182445660643b9aeb8d4e55bbd0a1061c6a...@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: w...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot