u-boot-brain/board/freescale
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
..
bsc9131rdb powerpc/mpc85xx:Add BSC9131 RDB Support 2012-07-06 17:30:29 -05:00
common powerpc/corenet_ds: Slave module for boot from PCIE 2012-08-23 10:24:15 -05:00
corenet_ds powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during boot 2012-04-24 23:58:34 -05:00
m547xevb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
m548xevb ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined 2011-10-19 00:14:16 +08:00
m5208evbe ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5235evb ColdFire: Merge differentiated linking files into a sigle one by board 2011-10-19 00:13:39 +08:00
m5249evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5253demo ColdFire:Add mb for 5253 dram initialization 2011-09-04 22:46:55 +08:00
m5253evbe doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
m5271evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5272c3 ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5275evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5282evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5329evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5373evb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
m52277evb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
m53017evb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
m54451evb ColdFire: Merge differentiated linking files into a sigle one by board 2011-10-19 00:13:39 +08:00
m54455evb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc832xemds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc837xemds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc837xerdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc5121ads GCC4.6: Squash warning in mpc5121ads.c 2011-10-27 23:54:01 +02:00
mpc7448hpc2 doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8260ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8266ads board/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warning 2011-11-07 22:49:44 +01:00
mpc8308rdb punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8313erdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8315erdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8323erdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8349emds mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code 2011-11-03 18:27:56 -05:00
mpc8349itx doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8360emds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8360erdk punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8536ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8540ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8541cds MPC85xxCDS: Fix missing LCRR_DBYP bits for 66-133MHz LBC 2012-01-11 13:57:56 -06:00
mpc8544ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8548cds board/freescale/mpc8548cds/mpc8548cds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8555cds MPC85xxCDS: Fix missing LCRR_DBYP bits for 66-133MHz LBC 2012-01-11 13:57:56 -06:00
mpc8560ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8568mds board/freescale/mpc8568mds/mpc8568mds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8569mds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8572ds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8610hpcd doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mpc8641hpcn doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mx6qarm2 i.mx: iomux-v3.h: move to imx-common include directory 2012-07-31 08:00:19 +02:00
mx6qsabrelite mx6qsabrelite: add i2c multi-bus support 2012-07-31 08:01:09 +02:00
mx25pdk punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mx28evk mx28evk: Add I2C support 2012-07-11 10:54:53 +02:00
mx31ads imx: fix coding style 2011-10-27 21:56:32 +02:00
mx31pdk MX31: mx31pdk: drop enable_caches from board file 2012-04-16 14:53:59 +02:00
mx35pdk doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
mx51evk mx51evk: Remove unused SOBJS 2012-07-07 14:07:26 +02:00
mx53ard mx53ard: Remove unused SOBJS 2012-07-07 14:07:26 +02:00
mx53evk mx53evk: Remove unused SOBJS 2012-07-07 14:07:26 +02:00
mx53loco mx53loco: Remove unused SOBJS 2012-07-07 14:07:26 +02:00
mx53smd mx53smd: Remove unused SOBJS 2012-07-07 14:07:26 +02:00
p1_p2_rdb doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
p1_p2_rdb_pc doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
p1010rdb Minor Coding Style Cleanup. 2012-07-22 21:58:26 +02:00
p1022ds powerpc/p1022ds: fix DIU/LBC switching with NAND enabled 2012-08-08 17:13:37 -05:00
p1023rds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
p2020come powerpc/85xx: Add USB device-tree fixup for various platforms 2012-07-06 17:03:25 -05:00
p2020ds powerpc/85xx: Add USB device-tree fixup for various platforms 2012-07-06 17:03:25 -05:00
p2041rdb powerpc/p2041: configure the CPLD lane_mux according to RCW 2012-08-08 17:13:39 -05:00
p3060qds doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00