[U-Boot-Users] ppc4xx relocate_code what it does????

arun c arun.edarath at gmail.com
Thu Aug 9 04:52:01 CEST 2007


Hi,

After doing all the initializations (i.e) serail_init,init_baudrate
etc.., finally it reaches to relocate_code(addr_sp,id,addr) in the
board_init_f() function in the board.c file (lib_ppc\board.c) ppc4xx.
what it does? which part
of the code or data copies from flash to the ram?

Is this required while I am running from the SDRAM? what part of the
code I can skip in the relocate_code function? If running from the
flash what should i do?

Arun




More information about the U-Boot mailing list