From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Sat, 07 Nov 2009 20:37:51 +0100 Subject: [U-Boot] AT91 Rework In-Reply-To: <4AF1D190.1010800@scharsoft.de> References: <4AF1D190.1010800@scharsoft.de> Message-ID: <4AF5CC8F.7040602@scharsoft.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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