mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
[POWERPC] Add sane defaults for Xilinx EDK generated xparameters files
Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
8b01653ab0
commit
30fea61fd0
@ -34,3 +34,63 @@
|
||||
.io_type = SERIAL_IO_MEM, \
|
||||
},
|
||||
#endif
|
||||
|
||||
/*
|
||||
* A few reasonable defaults for the #defines which could be missing depending
|
||||
* on the IP version or variant (e.g. OPB vs PLB)
|
||||
*/
|
||||
|
||||
#ifndef XPAR_EMAC_0_CAM_EXIST
|
||||
#define XPAR_EMAC_0_CAM_EXIST 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_0_JUMBO_EXIST
|
||||
#define XPAR_EMAC_0_JUMBO_EXIST 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_0_TX_DRE_TYPE
|
||||
#define XPAR_EMAC_0_TX_DRE_TYPE 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_0_RX_DRE_TYPE
|
||||
#define XPAR_EMAC_0_RX_DRE_TYPE 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_0_TX_INCLUDE_CSUM
|
||||
#define XPAR_EMAC_0_TX_INCLUDE_CSUM 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_0_RX_INCLUDE_CSUM
|
||||
#define XPAR_EMAC_0_RX_INCLUDE_CSUM 0
|
||||
#endif
|
||||
|
||||
#ifndef XPAR_EMAC_1_CAM_EXIST
|
||||
#define XPAR_EMAC_1_CAM_EXIST 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_1_JUMBO_EXIST
|
||||
#define XPAR_EMAC_1_JUMBO_EXIST 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_1_TX_DRE_TYPE
|
||||
#define XPAR_EMAC_1_TX_DRE_TYPE 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_1_RX_DRE_TYPE
|
||||
#define XPAR_EMAC_1_RX_DRE_TYPE 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_1_TX_INCLUDE_CSUM
|
||||
#define XPAR_EMAC_1_TX_INCLUDE_CSUM 0
|
||||
#endif
|
||||
#ifndef XPAR_EMAC_1_RX_INCLUDE_CSUM
|
||||
#define XPAR_EMAC_1_RX_INCLUDE_CSUM 0
|
||||
#endif
|
||||
|
||||
#ifndef XPAR_GPIO_0_IS_DUAL
|
||||
#define XPAR_GPIO_0_IS_DUAL 0
|
||||
#endif
|
||||
#ifndef XPAR_GPIO_1_IS_DUAL
|
||||
#define XPAR_GPIO_1_IS_DUAL 0
|
||||
#endif
|
||||
#ifndef XPAR_GPIO_2_IS_DUAL
|
||||
#define XPAR_GPIO_2_IS_DUAL 0
|
||||
#endif
|
||||
#ifndef XPAR_GPIO_3_IS_DUAL
|
||||
#define XPAR_GPIO_3_IS_DUAL 0
|
||||
#endif
|
||||
#ifndef XPAR_GPIO_4_IS_DUAL
|
||||
#define XPAR_GPIO_4_IS_DUAL 0
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user