From: arun c Date: Thu, 9 Aug 2007 08:22:01 +0530 Subject: [U-Boot-Users] ppc4xx relocate_code what it does???? Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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