[U-Boot] [PATCH] ARMV7: Add support for TRATS board
Wolfgang Denk
wd at denx.de
Thu Jan 5 12:34:39 CET 2012
Dear "Kim, Heungjun",
In message <4F05896D.8000000 at samsung.com> you wrote:
>
> > What are the compelling reasons to write thes functionms in assembler,
> > and not in C?
> No. There is not specific reason. It's just to fit the convention with
Then please implement in C.
> lowlevel_init.S file of any other previous boards based on Exynos4 SoC.
It has always been a bad idea to follow bad examples ;-)
> I'm just curious the pros of using C rather than asm in this case.
> Could you explain it?
Readability? Easier maintenance?
U-Boot is written in C. We use assembler only where it cannot be
avoided or where there are significant anvantages over implementation
in C. Here it seems there is no good reason for using assembler code.
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: wd at denx.de
panic: can't find /
More information about the U-Boot
mailing list