u-boot-brain/board/freescale/common
Liu Gang 461632bd71 powerpc/corenet_ds: Slave module for boot from PCIE
When boot from PCIE, slave's core should be in holdoff after powered on for
some specific requirements. Master will release the slave's core at the
right time by PCIE interface.

Slave's ucode and ENV can be stored in master's memory space, then slave
can fetch them through PCIE interface. For the corenet platform, ucode is
for Fman.

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

environment and requirement:

master:
	1. NOR flash for its own u-boot image, ucode and ENV space.
	2. Slave's u-boot image is in master NOR flash.
	3. Put the slave's ucode and ENV into it's own memory space.
	4. Normally boot from local NOR flash.
	5. Configure PCIE system if needed.
slave:
	1. Just has EEPROM for RCW. No flash for u-boot image, ucode and ENV.
	2. Boot location should be set to one PCIE interface by RCW.
	3. RCW should configure the SerDes, PCIE interfaces correctly.
	4. Must set all the cores in holdoff by RCW.
	5. Must be powered on before master's boot.

For the slave module, need to finish these processes:
	1. Set the boot location to one PCIE interface by RCW.
    2. Set a specific TLB entry for the boot process.
	3. Set a LAW entry with the TargetID of one PCIE 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.

In addition, the processes are very similar between boot from SRIO and
boot from PCIE. Some configurations like the address spaces can be set to
the same. So the module of boot from PCIE was added based on the existing
module of boot from SRIO, and the following changes were needed:
	1. Updated the README.srio-boot-corenet to add descriptions about
	   boot from PCIE, and change the name to
	   README.srio-pcie-boot-corenet.
	2. Changed the compile config "xxxx_SRIOBOOT_SLAVE" to
	   "xxxx_SRIO_PCIE_BOOT", and the image builded with
	   "xxxx_SRIO_PCIE_BOOT" can support both the boot from SRIO and
	   from PCIE.
	3. Updated other macros and documents if needed to add information
	   about boot from PCIE.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-08-23 10:24:15 -05:00
..
p_corenet powerpc/corenet_ds: Slave module for boot from PCIE 2012-08-23 10:24:15 -05:00
cadmus.c powerpc/mpc85xxcds: Fix PCI speed 2011-10-03 08:52:14 -05:00
cadmus.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
cds_pci_ft.c board/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning 2011-11-11 07:48:59 -06:00
cds_via.c FSL: Clean up board/freescale/common/Makefile 2008-03-26 11:43:04 -05:00
eeprom.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
fman.c powerpc/85xx: fdt_set_phy_handle() should return an error code 2012-07-06 17:30:32 -05:00
fman.h powerpc/85xx: fdt_set_phy_handle() should return an error code 2012-07-06 17:30:32 -05:00
ics307_clk.c powerpc/p3060qds: Add board related support for P3060QDS platform 2011-11-29 08:48:06 -06:00
ics307_clk.h powerpc/mpc85xx: Set SYSCLK to the required frequency 2011-11-11 07:48:54 -06:00
Makefile sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION option 2012-02-12 10:11:25 +01:00
ngpixis.c powerpc/mpc85xx: Set SYSCLK to the required frequency 2011-11-11 07:48:54 -06:00
ngpixis.h powerpc: Add P3041DS/P5020DS board support (uses corenet_ds code) 2011-04-27 22:29:04 -05:00
pixis.c board/freescale/common/pixis.c: Fix GCC 4.6 build warning 2011-11-11 07:48:59 -06:00
pixis.h ppc/85xx: Add a structure defn for PIXIS registers 2010-07-16 10:55:08 -05:00
pq-mds-pib.c ppc/85xx: Add PIB/ATM support for MPC8569mds 2010-01-25 22:13:26 -06:00
pq-mds-pib.h mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support 2007-08-16 23:12:11 -05:00
qixis.c powerpc/p3060qds: Add board related support for P3060QDS platform 2011-11-29 08:48:06 -06:00
qixis.h powerpc/p3060qds: Add board related support for P3060QDS platform 2011-11-29 08:48:06 -06:00
sdhc_boot.c Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
sgmii_riser.c powerpc/sgmii: To support PHY link state auto detect in SGMII mode 2012-08-08 18:32:15 -05:00
sgmii_riser.h Fixup SGMII PHY ids in the device tree 2009-02-16 18:05:54 -06:00
sys_eeprom.c fsl: obsolete NXID v0 EEPROMs, automatically upgrade them to NXID v1 2011-04-04 09:24:42 -05:00
via.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00