
10 Jan
2012
10 Jan
'12
6:02 p.m.
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang Gang.Liu@freescale.com wrote:
When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface.
What kind of ucode is this? Fman or QE?
- /* configure inbound window for slave's ucode */
- printf("SRIOBOOT - MASTER: Inbound window for slave's ucode; "
- "Local = 0x%llx, Srio = 0x%llx, Size = 0x%x\n",
- (u64)CONFIG_SRIOBOOT_SLAVE_UCODE_LAW_PHYS,
- (u64)CONFIG_SRIOBOOT_SLAVE_UCODE_SRIO_PHYS,
- CONFIG_SRIOBOOT_SLAVE_UCODE_SIZE);
- out_be32((u32)&srio->riwtar3 + CONFIG_SRIOBOOT_MASTER_PORT * 0x200,
These should be "(void *)" instead of "(u32)".
--
Timur Tabi
Linux kernel developer at Freescale