armv8/fsl-lsch3: Add support to load and start MC Firmware
authorJ. German Rivera <German.Rivera@freescale.com>
Mon, 23 Jun 2014 22:15:55 +0000 (15:15 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Jul 2014 06:40:58 +0000 (08:40 +0200)
commitb940ca64b22ba8980fd4ec8dda028f6b1a2ed79d
treeb10ed6b9111d3a6522957b1a85eed5492f09f65a
parent2f78eae5064728d6cd907148cfeaf8ba3e63b0ef
armv8/fsl-lsch3: Add support to load and start MC Firmware

Adding support to load and start the Layerscape Management Complex (MC)
firmware. First, the MC GCR register is set to 0 to reset all cores. MC
firmware and DPL images are copied from their location in NOR flash to
DDR. MC registers are updated with the location of these images.
Deasserting the reset bit of MC GCR register releases core 0 to run.
Core 1 will be released by MC firmware. Stop bits are not touched for
this step. U-boot waits for MC until it boots up. In case of a failure,
device tree is updated accordingly. The MC firmware image uses FIT format.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>
Signed-off-by: Shruti Kanetkar <Shruti@Freescale.com>
README
arch/arm/cpu/armv8/fsl-lsch3/cpu.c
drivers/net/Makefile
drivers/net/fsl_mc/Makefile [new file with mode: 0644]
drivers/net/fsl_mc/mc.c [new file with mode: 0644]
include/fdt_support.h
include/fsl_mc.h [new file with mode: 0644]