1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * (C) Copyright 2000-2009 4 * Vipin Kumar, ST Microelectronics, vipin.kumar@st.com 5 */ 6 7 #include <common.h> 8 9 #if (CONFIG_DDR_PLL2 || CONFIG_DDR_2HCLK) 10 11 const u32 mpmc_conf_vals[CONFIG_SPEAR_MPMCREGS] = { 12 #if (CONFIG_DDR_PLL2) 13 0x00000001, 14 0x00000000, 15 #elif (CONFIG_DDR_2HCLK) 16 0x02020201, 17 0x02020202, 18 #endif 19 0x01000000, 20 0x00000101, 21 0x00000101, 22 0x01000000, 23 0x00010001, 24 0x00000100, 25 0x01010001, 26 0x00000201, 27 0x01000101, 28 0x06000002, 29 0x06060106, 30 0x03050502, 31 0x03040404, 32 0x02020503, 33 #ifdef CONFIG_X600 34 0x02030206, 35 #else 36 0x02010106, 37 #endif 38 0x03000405, 39 0x03040202, 40 0x04000305, 41 0x0707073f, 42 0x07070707, 43 0x06060607, 44 0x06060606, 45 0x05050506, 46 0x05050505, 47 0x04040405, 48 0x04040404, 49 0x03030304, 50 0x03030303, 51 0x02020203, 52 0x02020202, 53 0x01010102, 54 0x01010101, 55 0x0a0a0a01, 56 0x0000023f, 57 0x00050a00, 58 0x11000000, 59 0x00001302, 60 0x00000A0A, 61 #ifdef CONFIG_X600 62 0x7f000000, 63 0x005c0000, 64 #else 65 0x72000000, 66 0x00550000, 67 #endif 68 0x2b050e86, 69 0x00640064, 70 0x00640064, 71 0x00640064, 72 0x00000064, 73 0x00200020, 74 0x00200020, 75 0x00200020, 76 0x00200020, 77 0x00200020, 78 0x00200020, 79 0x00200020, 80 0x00000a24, 81 0x43C20000, 82 0x5b1c00c8, 83 0x00c8002e, 84 0x00000000, 85 0x0001046b, 86 0x00000000, 87 0x03030100, 88 0x03030303, 89 0x03030303, 90 0x03030303, 91 0x00210000, 92 0x00010021, 93 0x00200000, 94 0x006c0090, 95 0x003fffff, 96 0x003fffff, 97 0x00000000, 98 0x00000000, 99 0x003fffff, 100 0x003fffff, 101 0x00000000, 102 0x00000000, 103 0x003fffff, 104 0x003fffff, 105 0x00000000, 106 0x00000000, 107 0x003fffff, 108 0x003fffff, 109 0x00000000, 110 0x00000000, 111 0x003fffff, 112 0x003fffff, 113 0x00000000, 114 0x00000000, 115 0x003fffff, 116 0x003fffff, 117 0x00000000, 118 0x00000000, 119 0x003fffff, 120 0x003fffff, 121 0x00000000, 122 0x00000000, 123 0x00000000, 124 0x00000000, 125 0x00000000 126 }; 127 #endif 128