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>
$(shell mkdir -p $(obj)../xilinx_iic)
endif
$(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)
CFLAGS += $(INCS)
HOST_CFLAGS += $(INCS)
#include <common.h>
#include <asm/processor.h>
#include <common.h>
#include <asm/processor.h>
-#include "xparameters.h"
#ifdef CFG_ENV_IS_IN_EEPROM
extern void convert_env(void);
#ifdef CFG_ENV_IS_IN_EEPROM
extern void convert_env(void);
#include <asm/processor.h>
#include <common.h>
#include <command.h>
#include <asm/processor.h>
#include <common.h>
#include <command.h>
-#include <configs/ml300.h>
-#include "xparameters.h"
*
******************************************************************************/
*
******************************************************************************/
#include <common.h>
#include <net.h>
#include <common.h>
#include <net.h>
-#include "xparameters.h"
#include "xemac.h"
#if defined(XPAR_EMAC_0_DEVICE_ID)
#include "xemac.h"
#if defined(XPAR_EMAC_0_DEVICE_ID)
/***************************** Include Files *********************************/
/***************************** Include Files *********************************/
#include "xbasic_types.h"
#include "xstatus.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"
#include "xpacket_fifo_v1_00_b.h" /* Uses v1.00b of Packet Fifo */
#include "xdma_channel.h"
*
*******************************************************************/
*
*******************************************************************/
-#include "xparameters.h"
*
******************************************************************************/
*
******************************************************************************/
#include <common.h>
#include <environment.h>
#include <net.h>
#include <common.h>
#include <environment.h>
#include <net.h>
-#include "xparameters.h"
#ifdef CFG_ENV_IS_IN_EEPROM
#include <i2c.h>
#ifdef CFG_ENV_IS_IN_EEPROM
#include <i2c.h>