In message <1248387468-9928-1-git-send-email...@denx.de> you wrote: > Commit 70ebf316 factored out the ROUND() macro into include/common.h, > not realizing that the primary use of this macro on AT91 systems was > in start.S where common.h was not included, and could not be included > because it contains a lot of C code which the assembler doesn't > understand. > > This patch wraps such code in common.h in a "#ifndef __ASSEMBLY__" > construct, and then adds an include to cpu/arm926ejs/start.S thus > solving the problem. > > Signed-off-by: Wolfgang Denk <w...@denx.de> > --- > cpu/arm926ejs/start.S | 1 + > include/common.h | 37 ++++++++++++++++++++----------------- > 2 files changed, 21 insertions(+), 17 deletions(-)
Applied. 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 Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer. - Fred Brooks, Jr. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot