public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Best Point for initialization
@ 2005-07-29 14:46 Jens Scharsig
  2005-07-29 14:53 ` Scott McNutt
  2005-07-29 15:06 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Jens Scharsig @ 2005-07-29 14:46 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Best Point for initialization
  2005-07-29 14:46 [U-Boot-Users] Best Point for initialization Jens Scharsig
@ 2005-07-29 14:53 ` Scott McNutt
  2005-07-29 15:06 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Scott McNutt @ 2005-07-29 14:53 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Best Point for initialization
  2005-07-29 14:46 [U-Boot-Users] Best Point for initialization Jens Scharsig
  2005-07-29 14:53 ` Scott McNutt
@ 2005-07-29 15:06 ` Wolfgang Denk
  2005-08-01  6:04   ` [U-Boot-Users] " Jens Scharsig
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2005-07-29 15:06 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A star captain's most solemn oath is that he will give his life, even
his entire crew, rather than violate the Prime Directive.
	-- Kirk, "The Omega Glory", stardate unknown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Best Point for initialization
  2005-07-29 15:06 ` Wolfgang Denk
@ 2005-08-01  6:04   ` Jens Scharsig
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Scharsig @ 2005-08-01  6:04 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-01  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-29 14:46 [U-Boot-Users] Best Point for initialization Jens Scharsig
2005-07-29 14:53 ` Scott McNutt
2005-07-29 15:06 ` Wolfgang Denk
2005-08-01  6:04   ` [U-Boot-Users] " Jens Scharsig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox