diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/x1000/ost.h')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/x1000/ost.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/mips/ingenic_x1000/x1000/ost.h b/firmware/target/mips/ingenic_x1000/x1000/ost.h index 8f2619e0e7..9444712e86 100644 --- a/firmware/target/mips/ingenic_x1000/x1000/ost.h +++ b/firmware/target/mips/ingenic_x1000/x1000/ost.h | |||
@@ -31,21 +31,21 @@ | |||
31 | #define JT_OST_CTRL JIO_32_RW | 31 | #define JT_OST_CTRL JIO_32_RW |
32 | #define JN_OST_CTRL OST_CTRL | 32 | #define JN_OST_CTRL OST_CTRL |
33 | #define JI_OST_CTRL | 33 | #define JI_OST_CTRL |
34 | #define BP_OST_CTRL_PRESCALE2 3 | 34 | #define BP_OST_CTRL_PRESCALE2 2 |
35 | #define BM_OST_CTRL_PRESCALE2 0x38 | 35 | #define BM_OST_CTRL_PRESCALE2 0xc |
36 | #define BV_OST_CTRL_PRESCALE2__BY_1 0x0 | 36 | #define BV_OST_CTRL_PRESCALE2__BY_1 0x0 |
37 | #define BV_OST_CTRL_PRESCALE2__BY_4 0x1 | 37 | #define BV_OST_CTRL_PRESCALE2__BY_4 0x1 |
38 | #define BV_OST_CTRL_PRESCALE2__BY_16 0x2 | 38 | #define BV_OST_CTRL_PRESCALE2__BY_16 0x2 |
39 | #define BF_OST_CTRL_PRESCALE2(v) (((v) & 0x7) << 3) | 39 | #define BF_OST_CTRL_PRESCALE2(v) (((v) & 0x3) << 2) |
40 | #define BFM_OST_CTRL_PRESCALE2(v) BM_OST_CTRL_PRESCALE2 | 40 | #define BFM_OST_CTRL_PRESCALE2(v) BM_OST_CTRL_PRESCALE2 |
41 | #define BF_OST_CTRL_PRESCALE2_V(e) BF_OST_CTRL_PRESCALE2(BV_OST_CTRL_PRESCALE2__##e) | 41 | #define BF_OST_CTRL_PRESCALE2_V(e) BF_OST_CTRL_PRESCALE2(BV_OST_CTRL_PRESCALE2__##e) |
42 | #define BFM_OST_CTRL_PRESCALE2_V(v) BM_OST_CTRL_PRESCALE2 | 42 | #define BFM_OST_CTRL_PRESCALE2_V(v) BM_OST_CTRL_PRESCALE2 |
43 | #define BP_OST_CTRL_PRESCALE1 0 | 43 | #define BP_OST_CTRL_PRESCALE1 0 |
44 | #define BM_OST_CTRL_PRESCALE1 0x7 | 44 | #define BM_OST_CTRL_PRESCALE1 0x3 |
45 | #define BV_OST_CTRL_PRESCALE1__BY_1 0x0 | 45 | #define BV_OST_CTRL_PRESCALE1__BY_1 0x0 |
46 | #define BV_OST_CTRL_PRESCALE1__BY_4 0x1 | 46 | #define BV_OST_CTRL_PRESCALE1__BY_4 0x1 |
47 | #define BV_OST_CTRL_PRESCALE1__BY_16 0x2 | 47 | #define BV_OST_CTRL_PRESCALE1__BY_16 0x2 |
48 | #define BF_OST_CTRL_PRESCALE1(v) (((v) & 0x7) << 0) | 48 | #define BF_OST_CTRL_PRESCALE1(v) (((v) & 0x3) << 0) |
49 | #define BFM_OST_CTRL_PRESCALE1(v) BM_OST_CTRL_PRESCALE1 | 49 | #define BFM_OST_CTRL_PRESCALE1(v) BM_OST_CTRL_PRESCALE1 |
50 | #define BF_OST_CTRL_PRESCALE1_V(e) BF_OST_CTRL_PRESCALE1(BV_OST_CTRL_PRESCALE1__##e) | 50 | #define BF_OST_CTRL_PRESCALE1_V(e) BF_OST_CTRL_PRESCALE1(BV_OST_CTRL_PRESCALE1__##e) |
51 | #define BFM_OST_CTRL_PRESCALE1_V(v) BM_OST_CTRL_PRESCALE1 | 51 | #define BFM_OST_CTRL_PRESCALE1_V(v) BM_OST_CTRL_PRESCALE1 |