xref: /OK3568_Linux_fs/external/rk_pcba_test/ddr_test.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef __DDR_TEST_H_
2 #define __DDR_TEST_H_
3 #include "rk_pcba_test_led.h"
4 
5 #ifdef PCBA_3308
6 #define DDR_CAPACITY 256
7 #endif
8 
9 #ifdef PCBA_PX3SE
10 #define DDR_CAPACITY 1010
11 #endif
12 
13 #ifdef PCBA_3229GVA
14 #define DDR_CAPACITY 256
15 #endif
16 
17 #ifdef PCBA_1808
18 #define DDR_CAPACITY 928
19 #endif
20 
21 #ifdef PCBA_3326
22 //TODO: According to real DDR Capacity to setting
23 #define   DDR_CAPACITY 4096
24 #endif
25 
26 #ifdef PCBA_PX30
27 //TODO: According to real DDR Capacity to setting
28 #define   DDR_CAPACITY 4096
29 #endif
30 
31 #ifdef PCBA_3288
32 //TODO: According to real DDR Capacity to setting
33 #define   DDR_CAPACITY 4096
34 #endif
35 
36 #ifdef PCBA_3328
37 //TODO: According to real DDR Capacity to setting
38 #define   DDR_CAPACITY 4096
39 #endif
40 
41 #ifdef PCBA_3399
42 //TODO: According to real DDR Capacity to setting
43 #define   DDR_CAPACITY 4096
44 #endif
45 
46 #ifdef PCBA_3399PRO
47 //TODO: According to real DDR Capacity to setting
48 #define   DDR_CAPACITY 4096
49 #endif
50 
51 #ifdef PCBA_1126_1109
52 //TODO: According to real DDR Capacity to setting
53 #define   DDR_CAPACITY 4096
54 #endif
55 
56 #ifdef PCBA_356X
57 //TODO: According to real DDR Capacity to setting
58 #define   DDR_CAPACITY 4096
59 #endif
60 
61 #ifdef PCBA_3588
62 //TODO: According to real DDR Capacity to setting
63 #define   DDR_CAPACITY 8192
64 #endif
65 
66 void *ddr_test(void *argv);
67 
68 #endif
69