diff options
author | fishsoupisgood <github@madingley.org> | 2019-04-29 01:17:54 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-27 03:43:43 +0100 |
commit | 3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch) | |
tree | 65ca85f13617aee1dce474596800950f266a456c /roms/u-boot/board/freescale/p1_p2_rdb/pci.c | |
download | qemu-master.tar.gz qemu-master.tar.bz2 qemu-master.zip |
Diffstat (limited to 'roms/u-boot/board/freescale/p1_p2_rdb/pci.c')
-rw-r--r-- | roms/u-boot/board/freescale/p1_p2_rdb/pci.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/roms/u-boot/board/freescale/p1_p2_rdb/pci.c b/roms/u-boot/board/freescale/p1_p2_rdb/pci.c new file mode 100644 index 00000000..745ebb15 --- /dev/null +++ b/roms/u-boot/board/freescale/p1_p2_rdb/pci.c @@ -0,0 +1,27 @@ +/* + * Copyright 2009-2010 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <command.h> +#include <pci.h> +#include <asm/immap_85xx.h> +#include <asm/fsl_serdes.h> +#include <asm/io.h> +#include <asm/fsl_pci.h> +#include <libfdt.h> +#include <fdt_support.h> + +DECLARE_GLOBAL_DATA_PTR; + +void pci_init_board(void) +{ + fsl_pcie_init_board(0); +} + +void ft_pci_board_setup(void *blob) +{ + FT_FSL_PCI_SETUP; +} |