* [U-Boot] ASM code for UART initialization
@ 2013-06-06 9:27 André Schaller
2013-06-06 10:04 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: André Schaller @ 2013-06-06 9:27 UTC (permalink / raw)
To: u-boot
Hi,
could someone support me with developing ASM code for initializing UART
interface on OMAP4460 to send some bytes over the wire at a very early
stage of booting x-loader? The code needs to be executed in start.S.
Is it possible to use existing C code and use the generated assembly
from gcc as the actual code or does it need major modifications to be
executed in start.S?
Thanks in advance.
Regards,
Andr?
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] ASM code for UART initialization
2013-06-06 9:27 [U-Boot] ASM code for UART initialization André Schaller
@ 2013-06-06 10:04 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2013-06-06 10:04 UTC (permalink / raw)
To: u-boot
Dear Andr? Schaller,
In message <51B05614.8070505@googlemail.com> you wrote:
>
> could someone support me with developing ASM code for initializing UART
> interface on OMAP4460 to send some bytes over the wire at a very early
> stage of booting x-loader? The code needs to be executed in start.S.
Why would you not just use C code?
> Is it possible to use existing C code and use the generated assembly
> from gcc as the actual code or does it need major modifications to be
> executed in start.S?
It should be possible - but you should ask yourself what you then
prevents from using C code instead?
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
They weren't that important. They were merely at the top. The people
who really run organizations are usually found several levels down,
where it's still possible to get things done.
- Terry Pratchett, _Small Gods_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-06 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06 9:27 [U-Boot] ASM code for UART initialization André Schaller
2013-06-06 10:04 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.