mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-13 12:32:47 +01:00
[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:
parent
735dd97b1b
commit
99b0f0fd3f
7 changed files with 7 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
*
|
||||
*******************************************************************/
|
||||
|
||||
#include "xparameters.h"
|
||||
#include <config.h>
|
||||
#include "xemac.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue