
In message b92b327b0608110702v671c7fe3hee41ed43f9ff17a2@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