upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
674 B
35 lines
674 B
/*
|
|
* (C) Copyright 2013 Keymile AG
|
|
* Valentin Longchamp <valentin.longchamp@keymile.com>
|
|
*
|
|
* 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>
|
|
|
|
#include "kmp204x.h"
|
|
|
|
#define PCIE_SW_RST 14
|
|
#define HOOPER_SW_RST 12
|
|
|
|
void pci_init_board(void)
|
|
{
|
|
qrio_prst(PCIE_SW_RST, false, false);
|
|
qrio_prst(HOOPER_SW_RST, false, false);
|
|
/* Hooper is not direcly PCIe capable */
|
|
mdelay(50);
|
|
fsl_pcie_init_board(0);
|
|
}
|
|
|
|
void pci_of_setup(void *blob, bd_t *bd)
|
|
{
|
|
FT_FSL_PCI_SETUP;
|
|
}
|
|
|