u-boot-brain/arch/x86/lib
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
..
efi x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
fsp x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART 2016-07-12 13:46:01 +08:00
acpi_table.c x86: acpi: Pack global NVS into ACPI table 2016-07-12 13:46:01 +08:00
asm-offsets.c x86: Add support for passing tables into U-Boot 2015-08-05 08:44:07 -06:00
bios_asm.S x86: bios: Synchronize stack between real and protected mode 2015-07-14 18:03:18 -06:00
bios_interrupts.c dm: Convert bios_interrupts to use DM PCI API 2016-01-12 10:19:09 -07:00
bios.c dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API 2016-01-12 10:19:09 -07:00
bios.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
bootm.c ls2080: Exit dpaa only right before exiting U-Boot 2016-11-17 14:18:55 +01:00
cmd_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_mtrr.c x86: cmd_mtrr: Improve MTRR list information 2015-07-14 18:03:18 -06:00
coreboot_table.c x86: Prepare configuration tables in dedicated high memory region 2016-05-23 15:18:00 +08:00
crt0_ia32_efi.S x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
crt0_x86_64_efi.S x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
e820.c x86: Move install_e820_map() out of zimage.c 2015-10-21 07:46:25 -06:00
elf_ia32_efi.lds efi: x86: Adjust EFI files support efi_loader 2016-11-14 23:24:04 +01:00
elf_x86_64_efi.lds efi: x86: Adjust EFI files support efi_loader 2016-11-14 23:24:04 +01:00
gcc.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
i8254.c x86: Rename pcat_ to i8254 and i8259 accordingly 2015-11-13 06:46:18 -08:00
i8259.c x86: Rename pcat_ to i8254 and i8259 accordingly 2015-11-13 06:46:18 -08:00
init_helpers.c x86: Drop unused init_helper functions 2016-10-11 11:55:33 +08:00
interrupts.c x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQS 2015-11-13 06:46:16 -08:00
lpc-uclass.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
Makefile efi: x86: Adjust EFI files support efi_loader 2016-11-14 23:24:04 +01:00
mpspec.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
mrccache.c x86: mrccache: Fix error handling in mrccache_get_region() 2016-10-11 11:55:33 +08:00
northbridge-uclass.c dm: x86: Add a northbridge uclass 2016-01-24 12:08:16 +08:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pinctrl_ich6.c x86: Add an ICH6 pin configuration driver 2016-03-17 10:27:25 +08:00
pirq_routing.c x86: Fix up PIRQ routing table checksum earlier 2016-05-23 15:18:00 +08:00
ramtest.c x86: ivybridge: Implement SDRAM init 2014-11-21 07:34:15 +01:00
reloc_ia32_efi.c x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
reloc_x86_64_efi.c x86: Move efi .S files into the 'lib' directory 2016-11-14 23:24:04 +01:00
relocate.c x86: Allow relocation code to build without text base 2015-08-05 08:44:06 -06:00
sections.c x86: efi: Add EFI loader support for x86 2016-10-19 09:01:53 +02:00
sfi.c x86: Add support for the Simple Firmware Interface (SFI) 2015-04-29 21:02:33 -06:00
string.c x86: Add an accelerated memmove() function 2016-10-11 11:55:33 +08:00
tables.c x86: Correct a build warning in x86 tables 2016-11-14 23:24:03 +01:00
zimage.c x86: Move install_e820_map() out of zimage.c 2015-10-21 07:46:25 -06:00