summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@freescale.com>2012-03-08 00:33:21 +0000
committerAndy Fleming <afleming@freescale.com>2012-04-24 23:58:33 -0500
commit5056c8e068e30c73d3653f0b2cabbae46174a165 (patch)
treec9264ff5be69b52fb73287c2029b2c5d40bac0da /include/configs
parent0a85a9e70593a9cd90fbbbdaad8443e31a9dd5a3 (diff)
downloadu-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 'include/configs')
-rw-r--r--include/configs/corenet_ds.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index aa8b384..8ed37a5 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -419,6 +419,10 @@
#define CONFIG_SRIOBOOT_SLAVE_ENV_LAW_PHYS 0xfef060000ull
#define CONFIG_SRIOBOOT_SLAVE_ENV_SRIO_PHYS 0x3ffe20000ull
#define CONFIG_SRIOBOOT_SLAVE_ENV_SIZE 0x20000 /* 128K */
+/* slave core release by master*/
+#define CONFIG_SRIOBOOT_SLAVE_HOLDOFF
+#define CONFIG_SRIOBOOT_SLAVE_BRR_OFFSET 0xe00e4
+#define CONFIG_SRIOBOOT_SLAVE_RELEASE_MASK 0x00000001 /* release core 0 */
#endif
/*