u-boot/drivers/misc
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
..
ali512x.c Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
ds4510.c cmd_usage(): simplify return code handling 2010-07-24 20:43:57 +02:00
fsl_law.c powerpc/corenet_ds: Slave module for boot from PCIE 2012-08-23 10:24:15 -05:00
gpio_led.c gpio_led: add gpio_request to __led_init 2010-07-12 11:30:52 -04:00
Makefile pmic: Add support for the Dialog DA9053 PMIC 2012-05-15 08:31:31 +02:00
mc9sdz60.c Add basic support for Freescale's mc9sdz60 2011-02-02 00:54:43 +01:00
ns87308.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pdsp188x.c led_display: split led display support into generic and hw-dependent parts 2010-10-12 22:44:33 +02:00
pmic_core.c misc:pmic:core New generic PMIC driver 2011-10-27 21:56:31 +02:00
pmic_dialog.c pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
pmic_fsl.c misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
pmic_i2c.c pmic_i2c: Return error in case of invalid pmic_i2c_tx_num 2012-03-27 09:41:16 +02:00
pmic_max8997.c misc:pmic:max8997 MAX8997 support for PMIC driver 2012-05-15 08:31:29 +02:00
pmic_max8998.c misc:pmic:max8998 MAX8998 support at a new PMIC driver. 2011-10-27 21:56:31 +02:00
pmic_spi.c misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
status_led.c drivers/misc: Move conditional compilation to Makefile 2008-08-13 01:40:40 +02:00
twl4030_led.c TWL4030: make LEDs selectable for twl4030_led_init() 2010-01-04 08:48:15 -06:00