]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/corenet_ds: Slave uploads ucode when boot from SRIO
authorLiu Gang <Gang.Liu@freescale.com>
Thu, 8 Mar 2012 00:33:19 +0000 (00:33 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 25 Apr 2012 04:58:33 +0000 (23:58 -0500)
commit3f1af81b80576bb696cc0ea2169541ee13902ce0
treeade977a679be6f0d47256466b6e26d486f560abd
parent292dc6c50107a5bef1084c53c36598dde177a116
powerpc/corenet_ds: Slave uploads ucode when boot from SRIO

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. For the
corenet platform, ucode is for Fman.

Master needs to:
1. Put the slave's ucode image into it's own memory space.
2. Set an inbound SRIO window covered slave's ucode stored in master's
   memory space.
Slave needs to:
1. Set a specific TLB entry in order to fetch ucode from master.
2. Set a LAW entry with the TargetID SRIO1 or SRIO2 for ucode.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
arch/powerpc/cpu/mpc8xxx/srio.c
board/freescale/common/p_corenet/law.c
board/freescale/common/p_corenet/tlb.c
include/configs/corenet_ds.h