1 /* 2 * (C) Copyright 2000-2009 3 * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com 4 * 5 * See file CREDITS for list of people who contributed to this 6 * project. 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License as 10 * published by the Free Software Foundation; either version 2 of 11 * the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21 * MA 02111-1307 USA 22 */ 23 24 #include <common.h> 25 26 #if (CONFIG_DDR_HCLK) 27 28 const u32 mpmc_conf_vals[CONFIG_SPEAR_MPMCREGS] = { 29 0x03030301, 30 0x03030303, 31 0x01000000, 32 0x00000101, 33 0x00000001, 34 0x01000000, 35 0x00010001, 36 0x00000100, 37 0x00010001, 38 0x00000003, 39 0x01000201, 40 0x06000202, 41 0x06060106, 42 0x03050502, 43 0x03040404, 44 0x02020503, 45 0x02010106, 46 0x03000404, 47 0x02020202, 48 0x03000203, 49 0x0707073f, 50 0x07070707, 51 0x06060607, 52 0x06060606, 53 0x05050506, 54 0x05050505, 55 0x04040405, 56 0x04040404, 57 0x03030304, 58 0x03030303, 59 0x02020203, 60 0x02020202, 61 0x01010102, 62 0x01010101, 63 0x08080a01, 64 0x0000023f, 65 0x00030600, 66 0x00000000, 67 0x00000a02, 68 0x00001c1c, 69 0x7f000000, 70 0x005f0000, 71 0x12030743, 72 0x00640064, 73 0x00640064, 74 0x00640064, 75 0x00000064, 76 0x00200020, 77 0x00200020, 78 0x00200020, 79 0x00200020, 80 0x00200020, 81 0x00200020, 82 0x00200020, 83 0x0000050e, 84 0x00000000, 85 0x2d8900c8, 86 0x00c80014, 87 0x00000000, 88 0x00008236, 89 0x00000000, 90 0x03030100, 91 0x03030303, 92 0x03030303, 93 0x03030303, 94 0x00400000, 95 0x003a0040, 96 0x00680000, 97 0x00d80120, 98 0x003fffff, 99 0x003fffff, 100 0x00000000, 101 0x00000000, 102 0x003fffff, 103 0x003fffff, 104 0x00000000, 105 0x00000000, 106 0x003fffff, 107 0x003fffff, 108 0x00000000, 109 0x00000000, 110 0x003fffff, 111 0x003fffff, 112 0x00000000, 113 0x00000000, 114 0x003fffff, 115 0x003fffff, 116 0x00000000, 117 0x00000000, 118 0x003fffff, 119 0x003fffff, 120 0x00000000, 121 0x00000000, 122 0x003fffff, 123 0x003fffff, 124 0x00000000, 125 0x00000000, 126 0x00000000, 127 0x00000000, 128 0x00000000 129 }; 130 #endif 131