[U-Boot-Users] Best Point for initialization

Hello,
my u-boot port runs. But I want to initialize a very spezial non standard device. Where is the best point to do this? My first intension is checkboard?
Regard Jens

Hi Jens,
my u-boot port runs. But I want to initialize a very spezial non standard device. Where is the best point to do this? My first intension is checkboard?
You might want to consider early/late init as well. See CONFIG_BOARD_EARLY_INIT_F and CONFIG_BOARD_LATE_INIT
Regards, --Scott

In message dcdfh8$tua$1@sea.gmane.org you wrote:
my u-boot port runs. But I want to initialize a very spezial non standard device. Where is the best point to do this? My first intension is checkboard?
Please do not misuse code. checkboard() is, as the name suggests, intended to check and print the board version etc. Please use one of the *init() routined for initialization stuff. misc_init_f() and misc_init_r() are probably best choice.
Best regards,
Wolfgang Denk

Wolfgang Denk schrieb:
In message dcdfh8$tua$1@sea.gmane.org you wrote:
my u-boot port runs. But I want to initialize a very spezial non standard device. Where is the best point to do this? My first intension is checkboard?
Please do not misuse code. checkboard() is, as the name suggests,
I don't realy plan to use checkboard() to do this. But I don't know the right point.
intended to check and print the board version etc. Please use one of the *init() routined for initialization stuff. misc_init_f() and misc_init_r() are probably best choice.
Now I know it. thanks
Regards Jens
participants (3)
-
Jens Scharsig
-
Scott McNutt
-
Wolfgang Denk