diff options
author | Andy Fleming <afleming@gmail.com> | 2015-11-04 21:48:32 (GMT) |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-11-04 23:19:34 (GMT) |
commit | 87e29878caba758ed3e09e9912ac8eb6dfc55f39 (patch) | |
tree | d98b04c33498eb2bb30dac21961d1bb32637823c /board/varisys/cyrus/pci.c | |
parent | c79e1c1ce9e5c1ddf6fac631e4741999f8a0cc58 (diff) | |
download | u-boot-87e29878caba758ed3e09e9912ac8eb6dfc55f39.tar.xz |
mpc85xx: Add support for the Varisys Cyrus board
This board runs a P5020 or P5040 chip, and utilizes
an EEPROM with similar formatting to the Freescale P5020DS.
Large amounts of this code were developed by
Adrian Cox <adrian at humboldt dot co dot uk>
Signed-off-by: Andy Fleming <afleming@gmail.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/varisys/cyrus/pci.c')
-rw-r--r-- | board/varisys/cyrus/pci.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/board/varisys/cyrus/pci.c b/board/varisys/cyrus/pci.c new file mode 100644 index 0000000..4780e8c --- /dev/null +++ b/board/varisys/cyrus/pci.c @@ -0,0 +1,23 @@ +/* + * Copyright 2007-2011 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <command.h> +#include <pci.h> +#include <asm/fsl_pci.h> +#include <libfdt.h> +#include <fdt_support.h> +#include <asm/fsl_serdes.h> + +void pci_init_board(void) +{ + fsl_pcie_init_board(0); +} + +void pci_of_setup(void *blob, bd_t *bd) +{ + FT_FSL_PCI_SETUP; +} |