]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/boot: Change the compile macro for SRIO & PCIE boot master module
authorLiu Gang <Gang.Liu@freescale.com>
Sun, 14 Oct 2012 20:55:17 +0000 (20:55 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 20:52:46 +0000 (15:52 -0500)
commit19e4a00965f03d5d64af00b7b4258dff43e57d17
tree3f796e643b234fc61637d1b0163efa5a27f34153
parentd8812bdbba21eefdf773ab3a42dcdf966d68ab92
powerpc/boot: Change the compile macro for SRIO & PCIE boot master module

Currently, the SRIO and PCIE boot master module will be compiled into the
u-boot image if the macro "CONFIG_FSL_CORENET" has been defined. And this
macro has been included by all the corenet architecture platform boards.
But in fact, it's uncertain whether all corenet platform boards support
this feature.

So it may be better to get rid of the macro "CONFIG_FSL_CORENET", and add
a special macro for every board which can support the feature. This
special macro will be defined in the header file
"arch/powerpc/include/asm/config_mpc85xx.h". It will decide if the SRIO
and PCIE boot master module should be compiled into the board u-boot image.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc8xxx/srio.c
arch/powerpc/include/asm/config_mpc85xx.h
drivers/pci/fsl_pci_init.c