1baefb63aSEric Nelsonif TARGET_MX6MEMCAL 2baefb63aSEric Nelson 3baefb63aSEric Nelsonconfig SYS_BOARD 4baefb63aSEric Nelson default "mx6memcal" 5baefb63aSEric Nelson 6baefb63aSEric Nelsonconfig SYS_VENDOR 7baefb63aSEric Nelson default "freescale" 8baefb63aSEric Nelson 9baefb63aSEric Nelsonconfig SYS_CONFIG_NAME 10baefb63aSEric Nelson default "mx6memcal" 11baefb63aSEric Nelson 12baefb63aSEric Nelsonmenu "mx6memcal specifics" 13baefb63aSEric Nelsonchoice 14baefb63aSEric Nelson prompt "Serial console" 15baefb63aSEric Nelson help 16baefb63aSEric Nelson Either UART1 or UART2 will be used as the console for 17baefb63aSEric Nelson displaying the calibration values or errors. 18baefb63aSEric Nelson 19baefb63aSEric Nelsonconfig SERIAL_CONSOLE_UART1 20baefb63aSEric Nelson bool "UART1" 21baefb63aSEric Nelson help 22baefb63aSEric Nelson Select this if your board uses UART1 for its' console. 23baefb63aSEric Nelson 24baefb63aSEric Nelsonconfig SERIAL_CONSOLE_UART2 25baefb63aSEric Nelson bool "UART2" 26baefb63aSEric Nelson help 27baefb63aSEric Nelson Select this if your board uses UART2 for its' console. 28baefb63aSEric Nelson 29baefb63aSEric Nelsonendchoice 30baefb63aSEric Nelson 31baefb63aSEric Nelsonchoice 32baefb63aSEric Nelson prompt "UART pads" 33baefb63aSEric Nelson help 34baefb63aSEric Nelson Select the RX and TX pads used for your serial console. 35baefb63aSEric Nelson The choices below reflect the most commonly used options 36baefb63aSEric Nelson for your UART. 37baefb63aSEric Nelson 38baefb63aSEric Nelson config UART2_EIM_D26_27 39baefb63aSEric Nelson bool "UART2 on EIM_D26/27 (SabreLite, Nitrogen6x)" 40baefb63aSEric Nelson depends on SERIAL_CONSOLE_UART2 41baefb63aSEric Nelson help 42baefb63aSEric Nelson Choose this configuration if you're using pads 43baefb63aSEric Nelson EIM_D26 and D27 for a console on UART2. 44baefb63aSEric Nelson This is typical for designs that are based on the 45baefb63aSEric Nelson NXP SABRELite. 46baefb63aSEric Nelson 47baefb63aSEric Nelson config UART1_CSI0_DAT10_11 48*db00e921SFabio Estevam bool "UART1 on CSI0_DAT10/11 (Wand, SabreSD)" 49baefb63aSEric Nelson depends on SERIAL_CONSOLE_UART1 50baefb63aSEric Nelson help 51baefb63aSEric Nelson Choose this configuration if you're using pads 52baefb63aSEric Nelson CSI0_DAT10 and DAT11 for a console on UART1 as 53*db00e921SFabio Estevam is done on the i.MX6 Wand board and i.MX6 SabreSD. 54baefb63aSEric Nelson 55baefb63aSEric Nelson config UART1_UART1 56baefb63aSEric Nelson bool "UART1 on UART1 (i.MX6SL EVK, WaRP)" 57baefb63aSEric Nelson depends on SERIAL_CONSOLE_UART1 58baefb63aSEric Nelson help 59baefb63aSEric Nelson Choose this configuration if you're using pads 60baefb63aSEric Nelson UART1_TXD/RXD for a console on UART1 as is done 61baefb63aSEric Nelson on most i.MX6SL designs. 62baefb63aSEric Nelson 63baefb63aSEric Nelsonendchoice 64baefb63aSEric Nelson 65baefb63aSEric Nelsonconfig IMXIMAGE_OUTPUT 66baefb63aSEric Nelson bool "Include output for imximage .cfg files" 67baefb63aSEric Nelson default y 68baefb63aSEric Nelson help 69baefb63aSEric Nelson Say "Y" if you want output formatted for use in non-SPL 70baefb63aSEric Nelson (DCD-style) configuration files. 71baefb63aSEric Nelson 72baefb63aSEric Nelsonconfig DDRWIDTH 73baefb63aSEric Nelson int "DDR bus width" 74baefb63aSEric Nelson default 64 75baefb63aSEric Nelson help 76baefb63aSEric Nelson Select either 32 or 64 to reflect the DDR bus width. 77baefb63aSEric Nelson 78baefb63aSEric Nelsonconfig DDRCS 79baefb63aSEric Nelson int "DDR chip selects" 80baefb63aSEric Nelson default 2 81baefb63aSEric Nelson range 1 2 82baefb63aSEric Nelson help 83baefb63aSEric Nelson Select the number of chip selects used in your board design 84baefb63aSEric Nelson 85baefb63aSEric Nelsonchoice 86baefb63aSEric Nelson prompt "Memory type" 87baefb63aSEric Nelson help 88baefb63aSEric Nelson Select the type of DDR (DDR3 or LPDDR2) used on your design 89baefb63aSEric Nelson 90baefb63aSEric Nelsonconfig DDR3 91baefb63aSEric Nelson bool "DDR3" 92baefb63aSEric Nelson help 93baefb63aSEric Nelson Select this if your board design uses DDR3. 94baefb63aSEric Nelson 95baefb63aSEric Nelsonconfig LPDDR2 96baefb63aSEric Nelson bool "LPDDR2" 97baefb63aSEric Nelson help 98baefb63aSEric Nelson Select this if your board design uses LPDDR2. 99baefb63aSEric Nelson 100baefb63aSEric Nelsonendchoice 101baefb63aSEric Nelson 102baefb63aSEric Nelsonchoice 103baefb63aSEric Nelson prompt "Memory device" 104baefb63aSEric Nelson 105baefb63aSEric Nelsonconfig MT41K512M16TNA 106baefb63aSEric Nelson bool "Micron MT41K512M16TNA 512Mx16 (1GiB/chip)" 107baefb63aSEric Nelson depends on DDR3 108baefb63aSEric Nelson 109baefb63aSEric Nelsonconfig MT41K128M16JT 110baefb63aSEric Nelson bool "Micron MT41K128M16JT 128Mx16 (256 MiB/chip)" 111baefb63aSEric Nelson depends on DDR3 112baefb63aSEric Nelson 113baefb63aSEric Nelsonconfig H5TQ4G63AFR 114baefb63aSEric Nelson bool "Hynix H5TQ4G63AFR 256Mx16 (512 MiB/chip)" 115baefb63aSEric Nelson depends on DDR3 116baefb63aSEric Nelson 117baefb63aSEric Nelsonconfig H5TQ2G63DFR 118baefb63aSEric Nelson bool "Hynix H5TQ2G63DFR 128Mx16 (256 MiB/chip)" 119baefb63aSEric Nelson depends on DDR3 120baefb63aSEric Nelson 121baefb63aSEric Nelsonconfig MT42L256M32D2LG 122baefb63aSEric Nelson bool "Micron MT42L256M32D2LG LPDDR2 256Mx32 (1GiB/chip)" 123baefb63aSEric Nelson depends on LPDDR2 124baefb63aSEric Nelson 125baefb63aSEric Nelsonconfig MT29PZZZ4D4BKESK 126baefb63aSEric Nelson bool "Micron MT29PZZZ4D4BKESK multi-chip 512MiB LPDDR2/4GiB eMMC" 127baefb63aSEric Nelson depends on LPDDR2 128baefb63aSEric Nelson 129baefb63aSEric Nelsonendchoice 130baefb63aSEric Nelson 131baefb63aSEric Nelsonconfig DDR_ODT 132baefb63aSEric Nelson int "DDR On-die-termination" 133baefb63aSEric Nelson default 2 134baefb63aSEric Nelson range 0 7 135baefb63aSEric Nelson help 136baefb63aSEric Nelson Enter the on-die termination value as an index defined for 137baefb63aSEric Nelson IOMUX settings for PAD_DRAM_SDCLK0_P and others. 138baefb63aSEric Nelson 0 == Disabled 139baefb63aSEric Nelson 1 == 120 Ohm 140baefb63aSEric Nelson 2 == 60 Ohm 141baefb63aSEric Nelson 3 == 40 Ohm 142baefb63aSEric Nelson 4 == 30 Ohm 143baefb63aSEric Nelson 5 == 24 Ohm 144baefb63aSEric Nelson 6 == 20 Ohm 145baefb63aSEric Nelson 7 == 17 Ohm 146baefb63aSEric Nelson Value will be applied to all clock and data lines 147baefb63aSEric Nelson 148baefb63aSEric Nelson 149baefb63aSEric Nelsonconfig DRAM_DRIVE_STRENGTH 150baefb63aSEric Nelson int "DRAM Drive strength" 151baefb63aSEric Nelson default 6 152baefb63aSEric Nelson range 0 7 153baefb63aSEric Nelson help 154baefb63aSEric Nelson Enter drive strength as an index defined for IOMUX settings 155baefb63aSEric Nelson for GRP_B1DS and others. 156baefb63aSEric Nelson 0 == Hi Z 157baefb63aSEric Nelson 6 == 40 Ohm (default) 158baefb63aSEric Nelson 7 == 34 Ohm 159baefb63aSEric Nelson Value will be applied to all clock and data lines 160baefb63aSEric Nelson 161baefb63aSEric Nelsonconfig RTT_NOM 162baefb63aSEric Nelson int "RTT_NOM" 163baefb63aSEric Nelson default 1 164baefb63aSEric Nelson range 1 2 165baefb63aSEric Nelson help 166baefb63aSEric Nelson Enter the RTT_NOM selector 167baefb63aSEric Nelson 1 == RZQ/4 (60ohm) 168baefb63aSEric Nelson 2 == RZQ/2 (120ohm) 169baefb63aSEric Nelson 170baefb63aSEric Nelsonconfig RTT_WR 171baefb63aSEric Nelson int "RTT_WR" 172baefb63aSEric Nelson default 1 173baefb63aSEric Nelson range 0 2 174baefb63aSEric Nelson help 175baefb63aSEric Nelson Enter the RTT_WR selector for MR2 176baefb63aSEric Nelson 0 == Dynamic ODT disabled 177baefb63aSEric Nelson 1 == RZQ/4 (60ohm) 178baefb63aSEric Nelson 2 == RZQ/2 (120ohm) 179baefb63aSEric Nelson 180baefb63aSEric Nelsonconfig RALAT 181baefb63aSEric Nelson int "Read additional latency" 182baefb63aSEric Nelson default 5 183baefb63aSEric Nelson range 0 7 184baefb63aSEric Nelson help 185baefb63aSEric Nelson Enter a latency in number of cycles. This will be added to 186baefb63aSEric Nelson CAS and internal delays for which the MMDC will retrieve the 187baefb63aSEric Nelson read data from the internal FIFO. 188baefb63aSEric Nelson This is used to compensate for board/chip delays. 189baefb63aSEric Nelson 190baefb63aSEric Nelsonconfig WALAT 191baefb63aSEric Nelson int "Write additional latency" 192baefb63aSEric Nelson default 0 193baefb63aSEric Nelson range 0 7 194baefb63aSEric Nelson help 195baefb63aSEric Nelson Enter a latency in number of cycles. This will be added to 196baefb63aSEric Nelson CAS and internal delays for which the MMDC will retrieve the 197baefb63aSEric Nelson read data from the internal FIFO 198baefb63aSEric Nelson This is used to compensate for board/chip delays. 199baefb63aSEric Nelson 200baefb63aSEric Nelsonconfig REFSEL 201baefb63aSEric Nelson int "Refresh period" 202baefb63aSEric Nelson range 0 3 203baefb63aSEric Nelson default 1 204baefb63aSEric Nelson help 205baefb63aSEric Nelson Select the DDR refresh period. 206baefb63aSEric Nelson See the description of bitfield REF_SEL in the reference manual 207baefb63aSEric Nelson for details. 208baefb63aSEric Nelson 0 == disabled 209baefb63aSEric Nelson 1 == 32 kHz 210baefb63aSEric Nelson 2 == 64 kHz 211baefb63aSEric Nelson 3 == fast counter 212baefb63aSEric Nelson 213baefb63aSEric Nelsonconfig REFR 214baefb63aSEric Nelson int "Number of refreshes" 215baefb63aSEric Nelson range 0 7 216baefb63aSEric Nelson default 7 217baefb63aSEric Nelson help 218baefb63aSEric Nelson This selects the number of refreshes (-1) during each period. 219baefb63aSEric Nelson i.e.: 220baefb63aSEric Nelson 0 == 1 refresh (tRFC) 221baefb63aSEric Nelson 7 == 8 refreshes (tRFC*8) 222baefb63aSEric Nelson See the description of MDREF[REFR] in the reference manual for 223baefb63aSEric Nelson details. 224baefb63aSEric Nelson 225baefb63aSEric Nelsonendmenu 226baefb63aSEric Nelsonendif 227baefb63aSEric Nelson 228