Code cleanup for GCC-3.3.x compilers
[platform/kernel/u-boot.git] / include / configs / xaeniax.h
1 /*
2  * (C) Copyright 2004
3  * Vincent Dubey, Xa SA, vincent.dubey@xa-ch.com
4  *
5  * (C) Copyright 2002
6  * Kyle Harris, Nexus Technologies, Inc. kharris@nexus-tech.ne
7  *
8  * (C) Copyright 2002
9  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
10  * Marius Groeger <mgroeger@sysgo.de>
11  *
12  * Configuation settings for the xaeniax board.
13  *
14  * See file CREDITS for list of people who contributed to this
15  * project.
16  *
17  * This program is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU General Public License as
19  * published by the Free Software Foundation; either version 2 of
20  * the License, or (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25  * GNU General Public License for more details.
26  *
27  * You should have received a copy of the GNU General Public License
28  * along with this program; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30  * MA 02111-1307 USA
31  */
32
33 #ifndef __CONFIG_H
34 #define __CONFIG_H
35
36 /*
37  * If we are developing, we might want to start armboot from ram
38  * so we MUST NOT initialize critical regs like mem-timing ...
39  */
40 #define CONFIG_INIT_CRITICAL            /* undef for developing */
41
42 /*
43 #undef CONFIG_INIT_CRITICAL
44 */
45
46 /*
47  * High Level Configuration Options
48  * (easy to change)
49  */
50 #define CONFIG_PXA250           1       /* This is an PXA255 CPU    */
51 #define CONFIG_XAENIAX          1       /* on a xaeniax board       */
52
53
54 #define BOARD_LATE_INIT         1
55
56
57 #undef CONFIG_USE_IRQ                   /* we don't need IRQ/FIQ stuff */
58
59 /*
60  * select serial console configuration
61  */
62 #define CONFIG_BTUART          1       /* we use BTUART on XAENIAX */
63
64
65 /* allow to overwrite serial and ethaddr */
66 #define CONFIG_ENV_OVERWRITE
67
68 #define CONFIG_BAUDRATE         115200
69
70 #define CFG_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 } /* valid baudrates */
71
72 #define CONFIG_COMMANDS         ((CONFIG_CMD_DFL | CFG_CMD_DIAG | CFG_CMD_SDRAM) & ~CFG_CMD_DTT)
73
74 /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
75 #include <cmd_confdefs.h>
76
77 #define CONFIG_ETHADDR          08:00:3e:26:0a:5b
78 #define CONFIG_NETMASK          255.255.255.0
79 #define CONFIG_IPADDR           192.168.68.201
80 #define CONFIG_SERVERIP         192.168.68.62
81
82 #define CONFIG_BOOTDELAY        3
83 #define CONFIG_BOOTCOMMAND      "bootm 0x00100000"
84 #define CONFIG_BOOTARGS         "console=ttyS1,115200"
85 #define CONFIG_CMDLINE_TAG1                             /* enable passing of ATAGs */
86
87 #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
88 #define CONFIG_KGDB_BAUDRATE    115200                  /* speed to run kgdb serial port */
89 #define CONFIG_KGDB_SER_INDEX   1                       /* which serial port to use */
90 #endif
91
92 /*
93  * Size of malloc() pool; this lives below the uppermost 128 KiB which are
94  * used for the RAM copy of the uboot code
95  */
96 #define CFG_MALLOC_LEN      (CFG_ENV_SIZE + 128*1024)
97 #define CFG_GBL_DATA_SIZE       128     /* size in bytes reserved for initial data */
98
99 /*
100  * Miscellaneous configurable options
101  */
102 #define CFG_LONGHELP                            /* undef to save memory */
103 #define CFG_HUSH_PARSER         1
104
105 #define CFG_PROMPT_HUSH_PS2     "> "
106
107 #ifdef CFG_HUSH_PARSER
108 #define CFG_PROMPT              "u-boot$ "      /* Monitor Command Prompt */
109 #else
110 #define CFG_PROMPT              "u-boot=> "     /* Monitor Command Prompt */
111 #endif
112 #define CFG_CBSIZE              256             /* Console I/O Buffer Size      */
113 #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
114 #define CFG_MAXARGS             16              /* max number of command args   */
115 #define CFG_BARGSIZE            CFG_CBSIZE      /* Boot Argument Buffer Size    */
116 #define CFG_DEVICE_NULLDEV      1
117
118 #define CFG_MEMTEST_START       0xa0400000      /* memtest works on     */
119 #define CFG_MEMTEST_END         0xa0800000      /* 4 ... 8 MB in DRAM   */
120
121 #undef  CFG_CLKS_IN_HZ                          /* everything, incl board info, in Hz */
122
123 #define CFG_LOAD_ADDR           0xa1000000      /* default load address */
124
125 #define CFG_HZ                  3686400         /* incrementer freq: 3.6864 MHz */
126 #define CFG_CPUSPEED            0x141           /* set core clock to 400/200/100 MHz */
127
128 /*
129  * Physical Memory Map
130  */
131 #define CONFIG_NR_DRAM_BANKS    1          /* we have 1 banks (partition) of DRAM */
132 #define PHYS_SDRAM_1            0xa0000000 /* SDRAM Bank #1 */
133 #define PHYS_SDRAM_1_SIZE       0x04000000 /* 64 MB */
134 #define PHYS_SDRAM_2            0xa4000000 /* SDRAM Bank #2 */
135 #define PHYS_SDRAM_2_SIZE       0x00000000 /* 0 MB */
136 #define PHYS_SDRAM_3            0xa8000000 /* SDRAM Bank #3 */
137 #define PHYS_SDRAM_3_SIZE       0x00000000 /* 0 MB */
138 #define PHYS_SDRAM_4            0xac000000 /* SDRAM Bank #4 */
139 #define PHYS_SDRAM_4_SIZE       0x00000000 /* 0 MB */
140
141 #define PHYS_FLASH_1            0x00000000 /* Flash Bank #1 */
142 #define PHYS_FLASH_2            0x04000000 /* Flash Bank #2 */
143 #define PHYS_FLASH_SIZE         0x02000000 /* 32 MB */
144 #define PHYS_FLASH_BANK_SIZE    0x02000000 /* 32 MB Banks */
145 #define PHYS_FLASH_SECT_SIZE    0x00040000 /* 256 KB sectors (x2) */
146
147 #define CFG_DRAM_BASE           0xa0000000
148 #define CFG_DRAM_SIZE           0x04000000
149
150 #define CFG_FLASH_BASE          PHYS_FLASH_1
151
152 /*
153  * FLASH and environment organization
154  */
155 #define CFG_MAX_FLASH_BANKS     1    /* max number of memory banks              */
156 #define CFG_MAX_FLASH_SECT      128  /* max number of sectors on one chip    */
157
158 /* timeout values are in ticks */
159 #define CFG_FLASH_ERASE_TOUT    (25*CFG_HZ) /* Timeout for Flash Erase */
160 #define CFG_FLASH_WRITE_TOUT    (25*CFG_HZ) /* Timeout for Flash Write */
161
162 /* FIXME */
163 #define CFG_ENV_IS_IN_FLASH     1
164 #define CFG_ENV_ADDR            (PHYS_FLASH_1 + 0x40000)/* Addr of Environment Sector   */
165 #define CFG_ENV_SIZE            0x40000                 /* Total Size of Environment Sector     */
166
167 /*
168  * Stack sizes
169  *
170  * The stack sizes are set up in start.S using the settings below
171  */
172 #define CONFIG_STACKSIZE        (128*1024)      /* regular stack */
173 #ifdef CONFIG_USE_IRQ
174 #define CONFIG_STACKSIZE_IRQ    (4*1024)        /* IRQ stack */
175 #define CONFIG_STACKSIZE_FIQ    (4*1024)        /* FIQ stack */
176 #endif
177
178 /*
179  * SMSC91C111 Network Card
180  */
181 #define CONFIG_DRIVER_SMC91111          1
182 #define CONFIG_SMC91111_BASE            0x0C00030  /* chip select 3         */
183 #define CONFIG_SMC_USE_32_BIT           1          /* 32 bit bus  */
184 #undef  CONFIG_SMC_91111_EXT_PHY                   /* we use internal phy   */
185 #undef  CONFIG_SHOW_ACTIVITY
186 #define CONFIG_NET_RETRY_COUNT          10         /* # of retries          */
187
188 /*
189  * GPIO settings
190  */
191
192 /*
193  * GP05 == nUSBReset  is 1
194  * GP10 == CFReset   is 1
195  * GP13 == nCFDataEnable is 1
196  * GP14 == nCFAddrEnable is 1
197  * GP15 == nCS1      is 1
198  * GP21 == ComBrdReset is 1
199  * GP24 == SFRM      is 1
200  * GP25 == TXD       is 1
201  * GP31 == SYNC      is 1
202  * GP33 == nCS5      is 1
203  * GP39 == FFTXD     is 1
204  * GP41 == RTS       is 1
205  * GP43 == BTTXD     is 1
206  * GP45 == BTRTS     is 1
207  * GP47 == TXD       is 1
208  * GP48 == nPOE      is 1
209  * GP49 == nPWE      is 1
210  * GP50 == nPIOR     is 1
211  * GP51 == nPIOW     is 1
212  * GP52 == nPCE[1]   is 1
213  * GP53 == nPCE[2]   is 1
214  * GP54 == nPSKTSEL  is 1
215  * GP55 == nPREG     is 1
216  * GP78 == nCS2      is 1
217  * GP79 == nCS3      is 1
218  * GP80 == nCS4      is 1
219  * GP82 == NSSPSFRM  is 1
220  * GP83 == NSSPTXD   is 1
221  */
222 #define CFG_GPSR0_VAL           0x8320E420
223 #define CFG_GPSR1_VAL           0x00FFAA82
224 #define CFG_GPSR2_VAL           0x000DC000
225
226 /*
227  * GP03 == LANReset  is 0
228  * GP06 == USBWakeUp  is 0
229  * GP11 == USBControl is 0
230  * GP12 == Buzzer     is 0
231  * GP16 == PWM0       is 0
232  * GP17 == PWM1       is 0
233  * GP23 == SCLK      is 0
234  * GP30 == SDATA_OUT is 0
235  * GP81 == NSSPCLK   is 0
236  */
237 #define CFG_GPCR0_VAL           0x40C31868
238 #define CFG_GPCR1_VAL           0x00000000
239 #define CFG_GPCR2_VAL           0x00020000
240
241 /*
242  * GP00 == CPUWakeUpUSB is input
243  * GP01 == GP reset is input
244  * GP02 == LANInterrupt is input
245  * GP03 == LANReset     is output
246  * GP04 == USBInterrupt is input
247  * GP05 == nUSBReset    is output
248  * GP06 == USBWakeUp    is output
249  * GP07 == CFReady/nBusy is input
250  * GP08 == nCFCardDetect1 is input
251  * GP09 == nCFCardDetect2 is input
252  * GP10 == nCFReset   is output
253  * GP11 == USBControl is output
254  * GP12 == Buzzer     is output
255  * GP13 == CFDataEnable is output
256  * GP14 == CFAddressEnable is output
257  * GP15 == nCS1      is output
258  * GP16 == PWM0      is output
259  * GP17 == PWM1      is output
260  * GP18 == RDY       is input
261  * GP19 == ReaderReady is input
262  * GP20 == ReaderReset is input
263  * GP21 == ComBrdReset is output
264  * GP23 == SCLK      is output
265  * GP24 == SFRM      is output
266  * GP25 == TXD       is output
267  * GP26 == RXD       is input
268  * GP27 == EXTCLK    is input
269  * GP28 == BITCLK    is output
270  * GP29 == SDATA_IN0 is input
271  * GP30 == SDATA_OUT is output
272  * GP31 == SYNC      is output
273  * GP32 == SYSSCLK   is output
274  * GP33 == nCS5      is output
275  * GP34 == FFRXD     is input
276  * GP35 == CTS       is input
277  * GP36 == DCD       is input
278  * GP37 == DSR       is input
279  * GP38 == RI        is input
280  * GP39 == FFTXD     is output
281  * GP40 == DTR       is output
282  * GP41 == RTS       is output
283  * GP42 == BTRXD     is input
284  * GP43 == BTTXD     is output
285  * GP44 == BTCTS     is input
286  * GP45 == BTRTS     is output
287  * GP46 == RXD       is input
288  * GP47 == TXD       is output
289  * GP48 == nPOE      is output
290  * GP49 == nPWE      is output
291  * GP50 == nPIOR     is output
292  * GP51 == nPIOW     is output
293  * GP52 == nPCE[1]   is output
294  * GP53 == nPCE[2]   is output
295  * GP54 == nPSKTSEL  is output
296  * GP55 == nPREG     is output
297  * GP56 == nPWAIT    is input
298  * GP57 == nPIOS16   is input
299  * GP58 == LDD[0]    is output
300  * GP59 == LDD[1]    is output
301  * GP60 == LDD[2]    is output
302  * GP61 == LDD[3]    is output
303  * GP62 == LDD[4]    is output
304  * GP63 == LDD[5]    is output
305  * GP64 == LDD[6]    is output
306  * GP65 == LDD[7]    is output
307  * GP66 == LDD[8]    is output
308  * GP67 == LDD[9]    is output
309  * GP68 == LDD[10]   is output
310  * GP69 == LDD[11]   is output
311  * GP70 == LDD[12]   is output
312  * GP71 == LDD[13]   is output
313  * GP72 == LDD[14]   is output
314  * GP73 == LDD[15]   is output
315  * GP74 == LCD_FCLK  is output
316  * GP75 == LCD_LCLK  is output
317  * GP76 == LCD_PCLK  is output
318  * GP77 == LCD_ACBIAS is output
319  * GP78 == nCS2      is output
320  * GP79 == nCS3      is output
321  * GP80 == nCS4      is output
322  * GP81 == NSSPCLK   is output
323  * GP82 == NSSPSFRM  is output
324  * GP83 == NSSPTXD   is output
325  * GP84 == NSSPRXD   is input
326  */
327 #define CFG_GPDR0_VAL           0xD3E3FC68
328 #define CFG_GPDR1_VAL           0xFCFFAB83
329 #define CFG_GPDR2_VAL           0x000FFFFF
330
331 /*
332  * GP01 == GP reset is AF01
333  * GP15 == nCS1     is AF10
334  * GP16 == PWM0     is AF10
335  * GP17 == PWM1     is AF10
336  * GP18 == RDY      is AF01
337  * GP23 == SCLK     is AF10
338  * GP24 == SFRM     is AF10
339  * GP25 == TXD      is AF10
340  * GP26 == RXD      is AF01
341  * GP27 == EXTCLK   is AF01
342  * GP28 == BITCLK   is AF01
343  * GP29 == SDATA_IN0 is AF10
344  * GP30 == SDATA_OUT is AF01
345  * GP31 == SYNC     is AF01
346  * GP32 == SYSCLK   is AF01
347  * GP33 == nCS5  is AF10
348  * GP34 == FFRXD is AF01
349  * GP35 == CTS   is AF01
350  * GP36 == DCD   is AF01
351  * GP37 == DSR   is AF01
352  * GP38 == RI    is AF01
353  * GP39 == FFTXD is AF10
354  * GP40 == DTR   is AF10
355  * GP41 == RTS   is AF10
356  * GP42 == BTRXD is AF01
357  * GP43 == BTTXD is AF10
358  * GP44 == BTCTS is AF01
359  * GP45 == BTRTS is AF10
360  * GP46 == RXD   is AF10
361  * GP47 == TXD   is AF01
362  * GP48 == nPOE  is AF10
363  * GP49 == nPWE  is AF10
364  * GP50 == nPIOR is AF10
365  * GP51 == nPIOW is AF10
366  * GP52 == nPCE[1] is AF10
367  * GP53 == nPCE[2] is AF10
368  * GP54 == nPSKTSEL is AF10
369  * GP55 == nPREG   is AF10
370  * GP56 == nPWAIT  is AF01
371  * GP57 == nPIOS16 is AF01
372  * GP58 == LDD[0]  is AF10
373  * GP59 == LDD[1]  is AF10
374  * GP60 == LDD[2]  is AF10
375  * GP61 == LDD[3]  is AF10
376  * GP62 == LDD[4]  is AF10
377  * GP63 == LDD[5]  is AF10
378  * GP64 == LDD[6]  is AF10
379  * GP65 == LDD[7]  is AF10
380  * GP66 == LDD[8]  is AF10
381  * GP67 == LDD[9]  is AF10
382  * GP68 == LDD[10] is AF10
383  * GP69 == LDD[11] is AF10
384  * GP70 == LDD[12] is AF10
385  * GP71 == LDD[13] is AF10
386  * GP72 == LDD[14] is AF10
387  * GP73 == LDD[15] is AF10
388  * GP74 == LCD_FCLK is AF10
389  * GP75 == LCD_LCLK is AF10
390  * GP76 == LCD_PCLK is AF10
391  * GP77 == LCD_ACBIAS is AF10
392  * GP78 == nCS2     is AF10
393  * GP79 == nCS3     is AF10
394  * GP80 == nCS4     is AF10
395  * GP81 == NSSPCLK  is AF01
396  * GP82 == NSSPSFRM is AF01
397  * GP83 == NSSPTXD  is AF01
398  * GP84 == NSSPRXD  is AF10
399  */
400 #define CFG_GAFR0_L_VAL         0x80000004
401 #define CFG_GAFR0_U_VAL         0x595A801A
402 #define CFG_GAFR1_L_VAL         0x699A9559
403 #define CFG_GAFR1_U_VAL         0xAAA5AAAA
404 #define CFG_GAFR2_L_VAL         0xAAAAAAAA
405 #define CFG_GAFR2_U_VAL         0x00000256
406
407 /*
408  * clock settings
409  */
410 /* RDH = 1
411  * PH  = 0
412  * VFS = 0
413  * BFS = 0
414  * SSS = 0
415  */
416 #define CFG_PSSR_VAL            0x00000030
417
418 #define CFG_CKEN_VAL            0x00000080  /*  */
419 #define CFG_ICMR_VAL            0x00000000  /* No interrupts enabled        */
420
421
422 /*
423  * Memory settings
424  *
425  * This is the configuration for nCS0/1 -> flash banks
426  * configuration for nCS1 :
427  * [31]    0    -
428  * [30:28] 000  -
429  * [27:24] 0000 -
430  * [23:20] 0000 -
431  * [19]    0    -
432  * [18:16] 000  -
433  * configuration for nCS0:
434  * [15]    0    - Slower Device
435  * [14:12] 010  - CS deselect to CS time: 2*(2*MemClk) = 40 ns
436  * [11:08] 0011 - Address to data valid in bursts: (3+1)*MemClk = 40 ns
437  * [07:04] 1111 - " for first access: (23+2)*MemClk = 250 ns (fixme 12+2?)
438  * [03]    0    - 32 Bit bus width
439  * [02:00] 010  - burst OF 4 ROM or FLASH
440 */
441 #define CFG_MSC0_VAL            0x000023D2
442
443 /* This is the configuration for nCS2/3 -> USB controller, LAN
444  * configuration for nCS3: LAN
445  * [31]    0    - Slower Device
446  * [30:28] 001  - RRR3: CS deselect to CS time: 1*(2*MemClk) = 20 ns
447  * [27:24] 0010 - RDN3: Address to data valid in bursts: (2+1)*MemClk = 30 ns
448  * [23:20] 0010 - RDF3: Address for first access: (2+1)*MemClk = 30 ns
449  * [19]    0    - 32 Bit bus width
450  * [18:16] 100  - variable latency I/O
451  * configuration for nCS2: USB
452  * [15]    1    - Faster Device
453  * [14:12] 010  - RRR2: CS deselect to CS time: 2*(2*MemClk) = 40 ns
454  * [11:08] 0010 - RDN2: Address to data valid in bursts: (2+1)*MemClk = 30 ns
455  * [07:04] 0110 - RDF2: Address for first access: (6+1)*MemClk = 70 ns
456  * [03]    0    - 32 Bit bus width
457  * [02:00] 100  - variable latency I/O
458  */
459 #define CFG_MSC1_VAL            0x1224A264
460
461 /* This is the configuration for nCS4/5 -> LAN
462  * configuration for nCS5:
463  * [31]    0    -
464  * [30:28] 000  -
465  * [27:24] 0000 -
466  * [23:20] 0000 -
467  * [19]    0    -
468  * [18:16] 000  -
469  * configuration for nCS4: LAN
470  * [15]    1    - Faster Device
471  * [14:12] 010  - RRR2: CS deselect to CS time: 2*(2*MemClk) = 40 ns
472  * [11:08] 0010 - RDN2: Address to data valid in bursts: (2+1)*MemClk = 30 ns
473  * [07:04] 0110 - RDF2: Address for first access: (6+1)*MemClk = 70 ns
474  * [03]    0    - 32 Bit bus width
475  * [02:00] 100  - variable latency I/O
476  */
477 #define CFG_MSC2_VAL            0x00001224
478
479 /* MDCNFG: SDRAM Configuration Register
480  *
481  * [31:29]   000 - reserved
482  * [28]      0   - no SA1111 compatiblity mode
483  * [27]      0   - latch return data with return clock
484  * [26]      0   - alternate addressing for pair 2/3
485  * [25:24]   00  - timings
486  * [23]      0   - internal banks in lower partition 2/3 (not used)
487  * [22:21]   00  - row address bits for partition 2/3 (not used)
488  * [20:19]   00  - column address bits for partition 2/3 (not used)
489  * [18]      0   - SDRAM partition 2/3 width is 32 bit
490  * [17]      0   - SDRAM partition 3 disabled
491  * [16]      0   - SDRAM partition 2 disabled
492  * [15:13]   000 - reserved
493  * [12]      0   - no SA1111 compatiblity mode
494  * [11]      1   - latch return data with return clock
495  * [10]      0   - no alternate addressing for pair 0/1
496  * [09:08]   10  - tRP=2*MemClk CL=2 tRCD=2*MemClk tRAS=5*MemClk tRC=8*MemClk
497  * [7]       1   - 4 internal banks in lower partition pair
498  * [06:05]   10  - 13 row address bits for partition 0/1
499  * [04:03]   01  - 9 column address bits for partition 0/1
500  * [02]      0   - SDRAM partition 0/1 width is 32 bit
501  * [01]      0   - disable SDRAM partition 1
502  * [00]      1   - enable  SDRAM partition 0
503  */
504 /* use the configuration above but disable partition 0 */
505 #define CFG_MDCNFG_VAL          0x00000AC9
506
507 /* MDREFR: SDRAM Refresh Control Register
508  *
509  * [32:26] 0     - reserved
510  * [25]    0     - K2FREE: not free running
511  * [24]    0     - K1FREE: not free running
512  * [23]    0     - K0FREE: not free running
513  * [22]    0     - SLFRSH: self refresh disabled
514  * [21]    0     - reserved
515  * [20]    1     - APD: auto power down
516  * [19]    0     - K2DB2: SDCLK2 is MemClk
517  * [18]    0     - K2RUN: disable SDCLK2
518  * [17]    0     - K1DB2: SDCLK1 is MemClk
519  * [16]    1     - K1RUN: enable SDCLK1
520  * [15]    1     - E1PIN: SDRAM clock enable
521  * [14]    0     - K0DB2: SDCLK0 is MemClk
522  * [13]    0     - K0RUN: disable SDCLK0
523  * [12]    0     - E0PIN: disable SDCKE0
524  * [11:00] 000000011000 - (64ms/8192)*MemClkFreq/32 = 24
525  */
526 #define CFG_MDREFR_VAL          0x00138018 /* mh: was 0x00118018 */
527
528 /* MDMRS: Mode Register Set Configuration Register
529  *
530  * [31]      0       - reserved
531  * [30:23]   00000000- MDMRS2: SDRAM2/3 MRS Value. (not used)
532  * [22:20]   011     - MDCL2:  SDRAM2/3 Cas Latency.  (not used)
533  * [19]      0       - MDADD2: SDRAM2/3 burst Type. Fixed to sequential.  (not used)
534  * [18:16]   010     - MDBL2:  SDRAM2/3 burst Length. Fixed to 4.  (not used)
535  * [15]      0       - reserved
536  * [14:07]   00000000- MDMRS0: SDRAM0/1 MRS Value.
537  * [06:04]   011     - MDCL0:  SDRAM0/1 Cas Latency.
538  * [03]      0       - MDADD0: SDRAM0/1 burst Type. Fixed to sequential.
539  * [02:00]   010     - MDBL0:  SDRAM0/1 burst Length. Fixed to 4.
540  */
541 #define CFG_MDMRS_VAL           0x00320032
542
543 /*
544  * PCMCIA and CF Interfaces
545  */
546 #define CFG_MECR_VAL            0x00000000
547 #define CFG_MCMEM0_VAL          0x00010504
548 #define CFG_MCMEM1_VAL          0x00010504
549 #define CFG_MCATT0_VAL          0x00010504
550 #define CFG_MCATT1_VAL          0x00010504
551 #define CFG_MCIO0_VAL           0x00004715
552 #define CFG_MCIO1_VAL           0x00004715
553
554
555 #endif  /* __CONFIG_H */