u-boot-brain/arch
Timur Tabi e46fedfeb2 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>
2011-09-29 19:01:04 -05:00
..
arm led: remove camel casing of led identifiers globally 2011-09-13 08:30:52 +02:00
avr32 Unify timer_init() and cpu_init() prototypes 2011-08-01 15:10:15 +02:00
blackfin Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2011-08-02 21:46:53 +02:00
m68k ColdFire:Clean up the CONFIG_STANDALONE_LOAD_ADDR usage 2011-09-04 22:46:55 +08:00
microblaze unify version_string 2011-07-28 17:22:53 +02:00
mips MIPS: mips32: fix wrong loop bound in flush_cache() 2011-09-03 10:43:45 +09:00
nios2 unify version_string 2011-07-28 17:22:53 +02:00
powerpc powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
sh sh: add calling mmc_initialize in board.c 2011-08-22 13:16:09 +09:00
sparc Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
x86 Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00