• Ying Zhang's avatar
    powerpc: mpc85xx: Support booting from SD Card with SPL · bb0dc108
    Ying Zhang authored
    
    
    The code from the internal on-chip ROM. It loads the final uboot image
    into DDR, then jump to it to begin execution.
    
    The SPL's size is sizeable, the maximum size must not exceed the size of L2
    SRAM. It initializes the DDR through SPD code, and copys final uboot image
    to DDR. So there are two stage uboot images:
    	* spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that
    	ddr spd code can get the interleaving mode setting in env. It loads
    	final uboot image from offset 96KB.
    	* final uboot image, size is variable depends on the functions enabled.
    
    Signed-off-by: default avatarYing Zhang <b40530@freescale.com>
    Acked-by: default avatarYork Sun <yorksun@freescale.com>
    bb0dc108