[U-Boot] [PATCH 1/2] LPC2468 support

Remco Poelstra
2009-03-26T09:03:27Z

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