u-boot-brain/drivers/net/fsl-mc
Alexander Graf b7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot
On ls2080 we have a separate network fabric component which we need to
shut down before we enter Linux (or any other OS). Along with that also
comes configuration of the fabric using a description file.

Today we always stop and configure the fabric in the boot script and
(again) exit it on device tree generation. This works ok for the normal
booti case, but with bootefi the payload we're running may still want to
access the network.

So let's add a new fsl_mc command that defers configuration and stopping
the hardware to when we actually exit U-Boot, so that we can still use
the fabric from an EFI payload.

For existing boot scripts, nothing should change with this patch.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: York Sun <york.sun@nxp.com>
[agraf: Fix x86 build]
2016-11-17 14:18:55 +01:00
..
dpio driver: net: fsl-mc: Check NULL before pointer dereference 2016-03-29 08:46:01 -07:00
dpbp.c driver: net: fsl-mc: Add create, destroy APIs in flibs 2015-11-30 08:53:02 -08:00
dpmac.c driver: net: fsl-mc: Add APIs for DPMAC objects in FLIB 2015-11-30 08:53:02 -08:00
dpmng.c drivers/fsl-mc: flib changes for mc 8.0.0 2015-08-03 12:06:37 -07:00
dpni.c driver: net: fsl-mc: flib changes for MC FW 9.0.0 2016-01-27 08:13:10 -08:00
dprc.c driver: net: fsl-mc: Add create, destroy APIs in flibs 2015-11-30 08:53:02 -08:00
fsl_dpmng_cmd.h driver/fsl-mc: Add support of MC Flibs 2015-04-21 10:27:35 -07:00
Makefile driver: net: fsl-mc: Add APIs for DPMAC objects in FLIB 2015-11-30 08:53:02 -08:00
mc_sys.c driver: net: fsl-mc: Increase MC command timeout 2015-11-30 08:53:02 -08:00
mc.c ls2080: Exit dpaa only right before exiting U-Boot 2016-11-17 14:18:55 +01:00