mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	Compile the legacy PCIe initialization routines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
		
			
				
	
	
		
			25 lines
		
	
	
		
			410 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			410 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 * Copyright 2014 Freescale Semiconductor, Inc.
 | 
						|
 */
 | 
						|
 | 
						|
#include <common.h>
 | 
						|
#include <command.h>
 | 
						|
#include <pci.h>
 | 
						|
#include <asm/fsl_pci.h>
 | 
						|
#include <linux/libfdt.h>
 | 
						|
#include <fdt_support.h>
 | 
						|
#include <asm/fsl_serdes.h>
 | 
						|
 | 
						|
#if !defined(CONFIG_DM_PCI)
 | 
						|
void pci_init_board(void)
 | 
						|
{
 | 
						|
	fsl_pcie_init_board(0);
 | 
						|
}
 | 
						|
 | 
						|
void pci_of_setup(void *blob, bd_t *bd)
 | 
						|
{
 | 
						|
	FT_FSL_PCI_SETUP;
 | 
						|
}
 | 
						|
#endif
 |