[U-Boot] [U-Boot, 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script

Andy Fleming afleming at freescale.com
Fri Jun 21 22:46:46 CEST 2013


On Mon, May 20, 2013 at 02:07:23PM +0800, ying.zhang at freescale.com wrote:
> From: Ying Zhang <b40530 at freescale.com>
> 
> For SD/SPI 2-stage bootloader, the On-Chip Rom code loads the SPL into L2 SRAM,
> then jump to it to begin execution. After that, the SPL loads the final uboot
> image into DDR, then jump to it to begin execution. The segment .resetvec in
> the SPL and in final U-boot is useless.
> 
> So, add new symbols CONFIG_SYS_MPC85XX_NO_RESETVEC for this application.
> If CONFIG_SYS_MPC85XX_NO_RESETVEC is set, the segment .resetvec is excluded
> and the segment .bootpg is placed in the previous 4K of the segment .text.
> 
> Signed-off-by: Ying Zhang <b40530 at freescale.com>

Applied, thanks!

Andy



More information about the U-Boot mailing list