Dear "sywang",

In message <[email protected]> you wrote:
> 
> I want to do pci configuration in the function 'board_init_f'.  How to do
> this? 

Why would you want to do that? Why cannot you wait until U-Boot has
relocateditself to RAM so you have full access to all resources?

> Could I call the function "pci_init" in the function 'board_init_f' or add
> the function "pci_init" into the function array " init_sequence "? 

This might be difficult, as you still have a very limted runtime
environment only, with just a minimal stack, without writable data,
without valid BSS.

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: [email protected]
The more complex the mind, the greater the need for the simplicity of
play.
        -- Kirk, "Shore Leave", stardate 3025.8
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to