]> git.ipfire.org Git - people/ms/u-boot.git/commit - README
powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO
authorLiu Gang <Gang.Liu@freescale.com>
Thu, 8 Mar 2012 00:33:20 +0000 (00:33 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 25 Apr 2012 04:58:33 +0000 (23:58 -0500)
commit0a85a9e70593a9cd90fbbbdaad8443e31a9dd5a3
tree661a5f2efc24df9044e7eb6e4e84234445ffa04c
parent3f1af81b80576bb696cc0ea2169541ee13902ce0
powerpc/corenet_ds: Slave reads ENV from master when boot from SRIO

When boot from SRIO, slave's ENV can be stored in master's memory space,
then slave can fetch the ENV through SRIO interface.

NOTE: Because the slave can not erase, write master's NOR flash by SRIO
  interface, so it can not modify the ENV parameters stored in
  master's NOR flash using "saveenv" or other commands.

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

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
README
arch/powerpc/cpu/mpc8xxx/srio.c
common/Makefile
common/cmd_nvedit.c
common/env_remote.c [new file with mode: 0644]
include/configs/corenet_ds.h