diff options
author | Liu Gang <Gang.Liu@freescale.com> | 2012-03-08 00:33:21 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-04-24 23:58:33 -0500 |
commit | 5056c8e068e30c73d3653f0b2cabbae46174a165 (patch) | |
tree | c9264ff5be69b52fb73287c2029b2c5d40bac0da /arch/powerpc/cpu/mpc85xx | |
parent | 0a85a9e70593a9cd90fbbbdaad8443e31a9dd5a3 (diff) | |
download | u-boot-imx-5056c8e068e30c73d3653f0b2cabbae46174a165.zip u-boot-imx-5056c8e068e30c73d3653f0b2cabbae46174a165.tar.gz u-boot-imx-5056c8e068e30c73d3653f0b2cabbae46174a165.tar.bz2 |
powerpc/corenet_ds: Slave core in holdoff when boot from SRIO
When boot from SRIO, slave's core can be in holdoff after powered on for
some specific requirements. Master can release the slave's core at the
right time by SRIO interface.
Master needs to:
1. Set outbound SRIO windows in order to configure slave's registers
for the core's releasing.
2. Check the SRIO port status when release slave core, if no errors,
will implement the process of the slave core's releasing.
Slave needs to:
1. Set all the cores in holdoff by RCW.
2. Be powered on before master's boot.
Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 97a7fe1..2cd5db7 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -444,6 +444,9 @@ skip_l2: srio_init(); #ifdef CONFIG_SRIOBOOT_MASTER srio_boot_master(); +#ifdef CONFIG_SRIOBOOT_SLAVE_HOLDOFF + srio_boot_master_release_slave(); +#endif #endif #endif |