]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
[PATCH 2_4] Use config.h, not xparameters.h, for xilinx targets
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 20 Feb 2007 08:04:52 +0000 (09:04 +0100)
committerStefan Roese <sr@denx.de>
Tue, 20 Feb 2007 08:04:52 +0000 (09:04 +0100)
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>
board/xilinx/ml300/Makefile
board/xilinx/ml300/ml300.c
board/xilinx/ml300/serial.c
board/xilinx/xilinx_enet/emac_adapter.c
board/xilinx/xilinx_enet/xemac.h
board/xilinx/xilinx_enet/xemac_g.c
board/xilinx/xilinx_iic/iic_adapter.c

index 02c22fbef1f1fe1a92e1824bf74584a73514253f..05ad23524f1d8455beef77eada6d40aef6f3419e 100644 (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)
 
index dad562f1c7761d0d2d47fb867e18bea8838444ca..60f0bc24e78a7dde6806a051a31300ac3c31a7d3 100644 (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);
index c204b88e415bae025f8829025b4af8e642355624..9b03f89eff44e2f56c0f39775a3da2956534ce7e 100644 (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;
 
index b30e8976692211c55242938ed70296f90a5ab38d..f159cb6e3921dbfd6dbd63c77cd1f1e07f6b83e1 100644 (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)
index ed704bf29b3c25dc3c5165297925bb1b11348093..584cb7ac51e0be5619aef1baebca638e6fe087d0 100644 (file)
 
 /***************************** 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"
 
index 9340f911f860d3ec09bc81bb4e0e7be73d1b2824..d9851574f73bd7fef6161026568c3eed31f1dd7b 100644 (file)
@@ -43,7 +43,7 @@
 *
 *******************************************************************/
 
-#include "xparameters.h"
+#include <config.h>
 #include "xemac.h"
 
 /*
index 163fe1511dba17b4c08ec4ac119c15648e6b1ad6..37dce03916456edcabcc42c16052651dfaa7a800 100644 (file)
 *
 ******************************************************************************/
 
+#include <config.h>
 #include <common.h>
 #include <environment.h>
 #include <net.h>
-#include "xparameters.h"
 
 #ifdef CFG_ENV_IS_IN_EEPROM
 #include <i2c.h>