[PATCH 2_4] Use config.h, not xparameters.h, for xilinx targets

Change the xilinx device drivers and board code to include config.h
instead of xparameters.h directly.  config.h always includes the
correct xparameters file.  This change reduces the posibility of
including the wrong file when adding a new xilinx board port

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Grant Likely 2007-02-20 09:04:52 +01:00 committed by Stefan Roese
parent 735dd97b1b
commit 99b0f0fd3f
7 changed files with 7 additions and 8 deletions

View File

@ -28,7 +28,7 @@ $(shell mkdir -p $(obj)../xilinx_enet)
$(shell mkdir -p $(obj)../xilinx_iic)
endif
INCS := -I../ml300 -I../common -I../xilinx_enet -I../xilinx_iic
INCS := -I../common -I../xilinx_enet -I../xilinx_iic
CFLAGS += $(INCS)
HOST_CFLAGS += $(INCS)

View File

@ -38,9 +38,9 @@
*
*/
#include <config.h>
#include <common.h>
#include <asm/processor.h>
#include "xparameters.h"
#ifdef CFG_ENV_IS_IN_EEPROM
extern void convert_env(void);

View File

@ -40,8 +40,7 @@
#include <asm/processor.h>
#include <common.h>
#include <command.h>
#include <configs/ml300.h>
#include "xparameters.h"
#include <config.h>
DECLARE_GLOBAL_DATA_PTR;

View File

@ -37,9 +37,9 @@
*
******************************************************************************/
#include <config.h>
#include <common.h>
#include <net.h>
#include "xparameters.h"
#include "xemac.h"
#if defined(XPAR_EMAC_0_DEVICE_ID)

View File

@ -257,9 +257,9 @@
/***************************** Include Files *********************************/
#include <config.h>
#include "xbasic_types.h"
#include "xstatus.h"
#include "xparameters.h"
#include "xpacket_fifo_v1_00_b.h" /* Uses v1.00b of Packet Fifo */
#include "xdma_channel.h"

View File

@ -43,7 +43,7 @@
*
*******************************************************************/
#include "xparameters.h"
#include <config.h>
#include "xemac.h"
/*

View File

@ -37,10 +37,10 @@
*
******************************************************************************/
#include <config.h>
#include <common.h>
#include <environment.h>
#include <net.h>
#include "xparameters.h"
#ifdef CFG_ENV_IS_IN_EEPROM
#include <i2c.h>