3 * Copyright (C) 2011-2014 ROCKCHIP, Inc.
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #ifndef __MACH_ROCKCHIP_DDR_H
17 #define __MACH_ROCKCHIP_DDR_H
19 #define DDR3_800D (0) // 5-5-5
20 #define DDR3_800E (1) // 6-6-6
21 #define DDR3_1066E (2) // 6-6-6
22 #define DDR3_1066F (3) // 7-7-7
23 #define DDR3_1066G (4) // 8-8-8
24 #define DDR3_1333F (5) // 7-7-7
25 #define DDR3_1333G (6) // 8-8-8
26 #define DDR3_1333H (7) // 9-9-9
27 #define DDR3_1333J (8) // 10-10-10
28 #define DDR3_1600G (9) // 8-8-8
29 #define DDR3_1600H (10) // 9-9-9
30 #define DDR3_1600J (11) // 10-10-10
31 #define DDR3_1600K (12) // 11-11-11
32 #define DDR3_1866J (13) // 10-10-10
33 #define DDR3_1866K (14) // 11-11-11
34 #define DDR3_1866L (15) // 12-12-12
35 #define DDR3_1866M (16) // 13-13-13
36 #define DDR3_2133K (17) // 11-11-11
37 #define DDR3_2133L (18) // 12-12-12
38 #define DDR3_2133M (19) // 13-13-13
39 #define DDR3_2133N (20) // 14-14-14
40 #define DDR3_DEFAULT (21)
42 #define DDR_LPDDR (23)
43 #define DDR_LPDDR2 (24)
45 #define PAUSE_CPU_STACK_SZIE 16