diff options
author | Ying Zhang <b40530@freescale.com> | 2013-05-20 14:07:23 +0800 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 17:08:50 -0500 |
commit | 5df572f0131cf5e0abd8ce4e8f57841b790c40d4 (patch) | |
tree | 23a4eb5bd8468e4172a137946838ef7f9ad8e091 /README | |
parent | 505c293ffd67170507154c3660d8d880d3edd9da (diff) | |
download | u-boot-imx-5df572f0131cf5e0abd8ce4e8f57841b790c40d4.zip u-boot-imx-5df572f0131cf5e0abd8ce4e8f57841b790c40d4.tar.gz u-boot-imx-5df572f0131cf5e0abd8ce4e8f57841b790c40d4.tar.bz2 |
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 'README')
-rw-r--r-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4088,6 +4088,11 @@ Low Level (hardware related) configuration options: that is executed before the actual U-Boot. E.g. when compiling a NAND SPL. +- CONFIG_SYS_MPC85XX_NO_RESETVEC + Only for 85xx systems. If this variable is specified, the section + .resetvec is not kept and the section .bootpg is placed in the + previous 4k of the .text section. + - CONFIG_ARCH_MAP_SYSMEM Generally U-Boot (and in particular the md command) uses effective address. It is therefore not necessary to regard |