summaryrefslogtreecommitdiff
path: root/common/cmd_sata.c
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2013-05-20 06:07:23 (GMT)
committerAndy Fleming <afleming@freescale.com>2013-06-20 22:08:50 (GMT)
commit5df572f0131cf5e0abd8ce4e8f57841b790c40d4 (patch)
tree23a4eb5bd8468e4172a137946838ef7f9ad8e091 /common/cmd_sata.c
parent505c293ffd67170507154c3660d8d880d3edd9da (diff)
downloadu-boot-fsl-qoriq-5df572f0131cf5e0abd8ce4e8f57841b790c40d4.tar.xz
powerpc/mpc85xx: support application without resetvec segment in the linker script
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@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'common/cmd_sata.c')
0 files changed, 0 insertions, 0 deletions