[U-Boot-Users] u-boot porting problem (Execution after code relocated to sdram)

Wolfgang Denk wd at denx.de
Mon Jun 12 09:11:23 CEST 2006

In message <448CC550.6040602 at aiware.co.jp> you wrote:
>   at some point we have to do the pci initialization. so we are storing 
> the configuration
>   function in a structure based on the device we want to configure. I am 

So you have static function pointers.

>   Shouldn't the control jump to relocated sdram address of the 
> configuration function ?

Yes, it should. but thus relocation has to be done manually. See  for
example the code to relocate the command table in board_init_r().

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
"The great question... which I have not been able  to  answer...  is,
`What does woman want?'"                              - Sigmund Freud

More information about the U-Boot mailing list