From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 22 Mar 2013 22:02:59 +0100 Subject: [U-Boot] [PATCH 20/31] powerpc/t4qds: Slave module for boot from SRIO and PCIE In-Reply-To: <1363973369-26110-20-git-send-email-yorksun@freescale.com> References: <1363973369-26110-1-git-send-email-yorksun@freescale.com> <1363973369-26110-20-git-send-email-yorksun@freescale.com> Message-ID: <20130322210259.136E22014CE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear York Sun, In message <1363973369-26110-20-git-send-email-yorksun@freescale.com> you wrote: > From: Liu Gang > > When a T4 board boots from SRIO or PCIE, it needs to finish these processes: > 1. Set the boot location to one PCIE or SRIO interface by RCW. > 2. Set a specific TLB entry for the boot process. > 3. Set a LAW entry with the TargetID of one PCIE or SRIO for the boot. > 4. Set a specific TLB entry in order to fetch ucode and ENV from > master. > 5. Set a LAW entry with the TargetID one of the PCIE ports for > ucode and ENV. > 6. Slave's u-boot image should be generated specifically by > make xxxx_SRIO_PCIE_BOOT_config. > This will set SYS_TEXT_BASE=0xFFF80000 and other configurations. > > For more information about the feature of Boot from SRIO/PCIE, please > refer to the document doc/README.srio-pcie-boot-corenet. > > Signed-off-by: Liu Gang > --- > arch/powerpc/include/asm/immap_85xx.h | 1 + > board/freescale/t4qds/tlb.c | 19 ++++++++++++++++++ > boards.cfg | 2 ++ > include/configs/t4qds.h | 34 ++++++++++++++++++++++++++------- > 4 files changed, 49 insertions(+), 7 deletions(-) CHECK: Alignment should match open parenthesis #157: FILE: board/freescale/t4qds/tlb.c:64: + SET_TLB_ENTRY(1, CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR, + CONFIG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS, CHECK: Alignment should match open parenthesis #173: FILE: board/freescale/t4qds/tlb.c:148: + SET_TLB_ENTRY(1, CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR, + CONFIG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS, Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8