[U-Boot] AT91 Rework

Jens Scharsig js_at_ng at scharsoft.de
Sat Nov 7 20:37:51 CET 2009


Dear Wolfgang Denk,

i still working on replacing AT91 defs by C structures.

But I have a problem with lowlevel_init.s files
Both AT91 and AT91RM9200 use the register defines here.
The C header files have a

#ifndef __assembly
...
#endif

to prevent assembler error.

My Question:

Should we move the handfull defines used by assembly code
to a separate header file (lowlevel.h), or
to the front of the lowlevel_init.s files, or
define it a #ifndef __assembly ... #endif block

Best regards

Jens Scharsig



More information about the U-Boot mailing list