Jean-Christophe PLAGNIOL-VILLARD schreef: >> I'm not an expert in assembly, but at first I had immap.h included in >> start.S and it complained about invalid instructions, so if I combine >> hardware.h and immap.h, then there must be some way of making sure that >> the assembler ignores the C code in immap.h. Do you know of any such thing? >> > immap.h?
immap.h is like hardware.h for the LPC2292, but it contains C structures to define the registers instead of #defines. I based it on the ppc code. See the patch for an explanation. >> I can remove the file, but than I need to put an #ifdef construct in >> start.S to only exclude it in the lpc2468 case. The file is used by the >> other ARM ports. I can also simply empty it, but in this way it is more >> similar to the other ports. What would you like? > no please do not I'll prefer to separate arch file I do not understand what you mean with the last part of your comment. Kind regards, Remco Poelstra _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

