1
2
3
4
5
6
7
8#include <common.h>
9
10#if (CONFIG_DDR_PLL2 || CONFIG_DDR_2HCLK)
11
12const u32 mpmc_conf_vals[CONFIG_SPEAR_MPMCREGS] = {
13#if (CONFIG_DDR_PLL2)
14 0x00000001,
15 0x00000000,
16#elif (CONFIG_DDR_2HCLK)
17 0x02020201,
18 0x02020202,
19#endif
20 0x01000000,
21 0x00000101,
22 0x00000101,
23 0x01000000,
24 0x00010001,
25 0x00000100,
26 0x01010001,
27 0x00000201,
28 0x01000101,
29 0x06000002,
30 0x06060106,
31 0x03050502,
32 0x03040404,
33 0x02020503,
34 0x02010106,
35 0x03000405,
36 0x03040202,
37 0x04000305,
38 0x0707073f,
39 0x07070707,
40 0x06060607,
41 0x06060606,
42 0x05050506,
43 0x05050505,
44 0x04040405,
45 0x04040404,
46 0x03030304,
47 0x03030303,
48 0x02020203,
49 0x02020202,
50 0x01010102,
51 0x01010101,
52 0x0a0a0a01,
53 0x0000023f,
54 0x00050a00,
55 0x11000000,
56 0x00001302,
57 0x00000A0A,
58 0x72000000,
59 0x00550000,
60 0x2b050e86,
61 0x00640064,
62 0x00640064,
63 0x00640064,
64 0x00000064,
65 0x00200020,
66 0x00200020,
67 0x00200020,
68 0x00200020,
69 0x00200020,
70 0x00200020,
71 0x00200020,
72 0x00000a24,
73 0x43C20000,
74 0x5b1c00c8,
75 0x00c8002e,
76 0x00000000,
77 0x0001046b,
78 0x00000000,
79 0x03030100,
80 0x03030303,
81 0x03030303,
82 0x03030303,
83 0x00210000,
84 0x00010021,
85 0x00200000,
86 0x006c0090,
87 0x003fffff,
88 0x003fffff,
89 0x00000000,
90 0x00000000,
91 0x003fffff,
92 0x003fffff,
93 0x00000000,
94 0x00000000,
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 0x00000000,
116 0x00000000,
117 0x00000000
118};
119#endif
120