-
- Downloads
powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros
Introduce the CONFIG_SYS_CCSRBAR_PHYS_HIGH and CONFIG_SYS_CCSRBAR_PHYS_LOW macros, which contain the high and low portions of CONFIG_SYS_CCSRBAR_PHYS. This is necessary for the assembly-language code that relocates CCSR, since the assembler does not understand 64-bit constants. CONFIG_SYS_CCSRBAR_PHYS is automatically defined from the CONFIG_SYS_CCSRBAR_PHYS_HIGH and CONFIG_SYS_CCSRBAR_PHYS_LOW macros, so it should not be defined in a board header file. Similarly, CONFIG_SYS_CCSRBAR_DEFAULT is defined for each SOC in config_mpc85xx.h, so it should also not be defined in the board header file. CONFIG_SYS_CCSR_DO_NOT_RELOCATE is a "short-cut" macro that guarantees that CONFIG_SYS_CCSRBAR_PHYS is set to the same value as CONFIG_SYS_CCSRBAR_DEFAULT, and so CCSR will not be relocated. Since CONFIG_SYS_CCSRBAR_DEFAULT is locked to a fixed value, multi-stage U-Boot builds (e.g. NAND) are required to relocate CCSR only during the last stage (i.e. the "real" U-Boot). All other stages should define CONFIG_SYS_CCSR_DO_NOT_RELOCATE to ensure that CCSR is not relocated. README is updated with descriptions of all the CONFIG_SYS_CCSRBAR_xxx macros. Signed-off-by:Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
Showing
- README 37 additions, 0 deletionsREADME
- arch/powerpc/include/asm/config_mpc85xx.h 39 additions, 0 deletionsarch/powerpc/include/asm/config_mpc85xx.h
- include/configs/MPC8536DS.h 3 additions, 14 deletionsinclude/configs/MPC8536DS.h
- include/configs/MPC8540ADS.h 2 additions, 9 deletionsinclude/configs/MPC8540ADS.h
- include/configs/MPC8541CDS.h 2 additions, 8 deletionsinclude/configs/MPC8541CDS.h
- include/configs/MPC8544DS.h 2 additions, 8 deletionsinclude/configs/MPC8544DS.h
- include/configs/MPC8548CDS.h 2 additions, 8 deletionsinclude/configs/MPC8548CDS.h
- include/configs/MPC8555CDS.h 2 additions, 8 deletionsinclude/configs/MPC8555CDS.h
- include/configs/MPC8560ADS.h 2 additions, 9 deletionsinclude/configs/MPC8560ADS.h
- include/configs/MPC8568MDS.h 2 additions, 8 deletionsinclude/configs/MPC8568MDS.h
- include/configs/MPC8569MDS.h 3 additions, 12 deletionsinclude/configs/MPC8569MDS.h
- include/configs/MPC8572DS.h 3 additions, 14 deletionsinclude/configs/MPC8572DS.h
- include/configs/P1022DS.h 2 additions, 12 deletionsinclude/configs/P1022DS.h
- include/configs/P1023RDS.h 0 additions, 9 deletionsinclude/configs/P1023RDS.h
- include/configs/P1_P2_RDB.h 3 additions, 16 deletionsinclude/configs/P1_P2_RDB.h
- include/configs/P2020DS.h 2 additions, 12 deletionsinclude/configs/P2020DS.h
- include/configs/P2041RDB.h 0 additions, 14 deletionsinclude/configs/P2041RDB.h
- include/configs/SBC8540.h 0 additions, 14 deletionsinclude/configs/SBC8540.h
- include/configs/TQM85xx.h 5 additions, 11 deletionsinclude/configs/TQM85xx.h
- include/configs/corenet_ds.h 0 additions, 13 deletionsinclude/configs/corenet_ds.h
Loading
Please register or sign in to comment