[U-Boot-Users] Uboot drivers querry
Wolfgang Denk
wd at denx.de
Fri Aug 11 16:12:27 CEST 2006
In message <b92b327b0608110702v671c7fe3hee41ed43f9ff17a2 at mail.gmail.com> you wrote:
>
> I guess I could not make my point clear.
Indeed.
> i) From what I understand is that functions like "reset timer",
> "serial_puts" etc are called anywhere from the code logic as they are
> global. Is that correct? Their implementation is local to the board
> architecture.
No, these functions are not called "everywhere". Normally you will
use puts() instead. serial_puts() may (or may not) be called
implicetely then, depending on your stdout settings.
> ii) Where does interrupt_init get called from? This is supposed to be
How about using grep to search the source code?
> a one time call. This is what I was refering to the "core logic".
I still fail to understand what you mean by "core logic". The fact
that we call a function just once does not make it "core logic".
U-Boot's init sequence is described in the README. See there.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is easier to write an incorrect program than understand a correct
one.
More information about the U-Boot
mailing list