Skip to content
Snippets Groups Projects
Commit bb0dc108 authored by Ying Zhang's avatar Ying Zhang Committed by York Sun
Browse files

powerpc: mpc85xx: Support booting from SD Card with SPL


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>
parent 0151d99d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment