Jesper Nilsson | 035e111 | 2007-11-29 17:11:23 +0100 | [diff] [blame] | 1 | if CRIS_MACH_ARTPEC3 |
| 2 | |
| 3 | menu "Artpec-3 options" |
| 4 | depends on CRIS_MACH_ARTPEC3 |
| 5 | |
| 6 | config ETRAX_DRAM_VIRTUAL_BASE |
| 7 | hex |
| 8 | default "c0000000" |
| 9 | |
| 10 | config ETRAX_L2CACHE |
| 11 | bool |
| 12 | default y |
| 13 | |
| 14 | config ETRAX_SERIAL_PORTS |
| 15 | int |
| 16 | default 5 |
| 17 | |
| 18 | config ETRAX_DDR |
| 19 | bool |
| 20 | default y |
| 21 | |
| 22 | config ETRAX_DDR2_MRS |
| 23 | hex "DDR2 MRS" |
| 24 | default "0" |
| 25 | |
| 26 | config ETRAX_DDR2_TIMING |
| 27 | hex "DDR2 SDRAM timing" |
| 28 | default "0" |
| 29 | help |
| 30 | SDRAM timing parameters. |
| 31 | |
| 32 | config ETRAX_DDR2_CONFIG |
| 33 | hex "DDR2 config" |
| 34 | default "0" |
| 35 | |
| 36 | config ETRAX_PIO_CE0_CFG |
| 37 | hex "PIO CE0 configuration" |
| 38 | default "0" |
| 39 | |
| 40 | config ETRAX_PIO_CE1_CFG |
| 41 | hex "PIO CE1 configuration" |
| 42 | default "0" |
| 43 | |
| 44 | config ETRAX_PIO_CE2_CFG |
| 45 | hex "PIO CE2 configuration" |
| 46 | default "0" |
| 47 | |
| 48 | config ETRAX_DEF_GIO_PA_OE |
| 49 | hex "GIO_PA_OE" |
| 50 | default "00000000" |
| 51 | help |
| 52 | Configures the direction of general port A bits. 1 is out, 0 is in. |
| 53 | This is often totally different depending on the product used. |
| 54 | There are some guidelines though - if you know that only LED's are |
| 55 | connected to port PA, then they are usually connected to bits 2-4 |
| 56 | and you can therefore use 1c. On other boards which don't have the |
| 57 | LED's at the general ports, these bits are used for all kinds of |
| 58 | stuff. If you don't know what to use, it is always safe to put all |
| 59 | as inputs, although floating inputs isn't good. |
| 60 | |
| 61 | config ETRAX_DEF_GIO_PA_OUT |
| 62 | hex "GIO_PA_OUT" |
| 63 | default "00000000" |
| 64 | help |
| 65 | Configures the initial data for the general port A bits. Most |
| 66 | products should use 00 here. |
| 67 | |
| 68 | config ETRAX_DEF_GIO_PB_OE |
| 69 | hex "GIO_PB_OE" |
| 70 | default "000000000" |
| 71 | help |
| 72 | Configures the direction of general port B bits. 1 is out, 0 is in. |
| 73 | This is often totally different depending on the product used. |
| 74 | There are some guidelines though - if you know that only LED's are |
| 75 | connected to port PA, then they are usually connected to bits 2-4 |
| 76 | and you can therefore use 1c. On other boards which don't have the |
| 77 | LED's at the general ports, these bits are used for all kinds of |
| 78 | stuff. If you don't know what to use, it is always safe to put all |
| 79 | as inputs, although floating inputs isn't good. |
| 80 | |
| 81 | config ETRAX_DEF_GIO_PB_OUT |
| 82 | hex "GIO_PB_OUT" |
| 83 | default "000000000" |
| 84 | help |
| 85 | Configures the initial data for the general port B bits. Most |
| 86 | products should use 00000 here. |
| 87 | |
| 88 | config ETRAX_DEF_GIO_PC_OE |
| 89 | hex "GIO_PC_OE" |
| 90 | default "00000" |
| 91 | help |
| 92 | Configures the direction of general port C bits. 1 is out, 0 is in. |
| 93 | This is often totally different depending on the product used. |
| 94 | There are some guidelines though - if you know that only LED's are |
| 95 | connected to port PA, then they are usually connected to bits 2-4 |
| 96 | and you can therefore use 1c. On other boards which don't have the |
| 97 | LED's at the general ports, these bits are used for all kinds of |
| 98 | stuff. If you don't know what to use, it is always safe to put all |
| 99 | as inputs, although floating inputs isn't good. |
| 100 | |
| 101 | config ETRAX_DEF_GIO_PC_OUT |
| 102 | hex "GIO_PC_OUT" |
| 103 | default "00000" |
| 104 | help |
| 105 | Configures the initial data for the general port C bits. Most |
| 106 | products should use 00000 here. |
| 107 | |
| 108 | endmenu |
| 109 | |
| 110 | endif |