aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-04-27 15:50:04 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-29 21:02:04 -0400
commit30fea61fd01955cc35c6a63260b374d7a6d12c8b (patch)
tree30f1b459a7ca8d313315a79eb962208d81af1407 /arch/ppc
parent8b01653ab01eebc781c5a375ff336d0837f30c4e (diff)
[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>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/platforms/4xx/xparameters/xparameters.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h
index 66ec5f35f306..01aa043ff381 100644
--- a/arch/ppc/platforms/4xx/xparameters/xparameters.h
+++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h
@@ -34,3 +34,63 @@
34 .io_type = SERIAL_IO_MEM, \ 34 .io_type = SERIAL_IO_MEM, \
35 }, 35 },
36#endif 36#endif
37
38/*
39 * A few reasonable defaults for the #defines which could be missing depending
40 * on the IP version or variant (e.g. OPB vs PLB)
41 */
42
43#ifndef XPAR_EMAC_0_CAM_EXIST
44#define XPAR_EMAC_0_CAM_EXIST 0
45#endif
46#ifndef XPAR_EMAC_0_JUMBO_EXIST
47#define XPAR_EMAC_0_JUMBO_EXIST 0
48#endif
49#ifndef XPAR_EMAC_0_TX_DRE_TYPE
50#define XPAR_EMAC_0_TX_DRE_TYPE 0
51#endif
52#ifndef XPAR_EMAC_0_RX_DRE_TYPE
53#define XPAR_EMAC_0_RX_DRE_TYPE 0
54#endif
55#ifndef XPAR_EMAC_0_TX_INCLUDE_CSUM
56#define XPAR_EMAC_0_TX_INCLUDE_CSUM 0
57#endif
58#ifndef XPAR_EMAC_0_RX_INCLUDE_CSUM
59#define XPAR_EMAC_0_RX_INCLUDE_CSUM 0
60#endif
61
62#ifndef XPAR_EMAC_1_CAM_EXIST
63#define XPAR_EMAC_1_CAM_EXIST 0
64#endif
65#ifndef XPAR_EMAC_1_JUMBO_EXIST
66#define XPAR_EMAC_1_JUMBO_EXIST 0
67#endif
68#ifndef XPAR_EMAC_1_TX_DRE_TYPE
69#define XPAR_EMAC_1_TX_DRE_TYPE 0
70#endif
71#ifndef XPAR_EMAC_1_RX_DRE_TYPE
72#define XPAR_EMAC_1_RX_DRE_TYPE 0
73#endif
74#ifndef XPAR_EMAC_1_TX_INCLUDE_CSUM
75#define XPAR_EMAC_1_TX_INCLUDE_CSUM 0
76#endif
77#ifndef XPAR_EMAC_1_RX_INCLUDE_CSUM
78#define XPAR_EMAC_1_RX_INCLUDE_CSUM 0
79#endif
80
81#ifndef XPAR_GPIO_0_IS_DUAL
82#define XPAR_GPIO_0_IS_DUAL 0
83#endif
84#ifndef XPAR_GPIO_1_IS_DUAL
85#define XPAR_GPIO_1_IS_DUAL 0
86#endif
87#ifndef XPAR_GPIO_2_IS_DUAL
88#define XPAR_GPIO_2_IS_DUAL 0
89#endif
90#ifndef XPAR_GPIO_3_IS_DUAL
91#define XPAR_GPIO_3_IS_DUAL 0
92#endif
93#ifndef XPAR_GPIO_4_IS_DUAL
94#define XPAR_GPIO_4_IS_DUAL 0
95#endif
96