Go to the documentation of this file.
9 #ifndef __MACH_BF538_H__
10 #define __MACH_BF538_H__
12 #define OFFSET_(x) ((x) & 0x0000FFFF)
15 #define IMASK_IVG15 0x8000
16 #define IMASK_IVG14 0x4000
17 #define IMASK_IVG13 0x2000
18 #define IMASK_IVG12 0x1000
20 #define IMASK_IVG11 0x0800
21 #define IMASK_IVG10 0x0400
22 #define IMASK_IVG9 0x0200
23 #define IMASK_IVG8 0x0100
25 #define IMASK_IVG7 0x0080
26 #define IMASK_IVGTMR 0x0040
27 #define IMASK_IVGHW 0x0020
31 #define BFIN_DSUBBANKS 4
33 #define BFIN_DLINES 64
34 #define BFIN_ISUBBANKS 4
36 #define BFIN_ILINES 32
56 #define DMC_ENABLE (2<<2)
59 #define AMBCTL0VAL ((CONFIG_BANK_1 << 16) | CONFIG_BANK_0)
60 #define AMBCTL1VAL ((CONFIG_BANK_3 << 16) | CONFIG_BANK_2)
62 #ifdef CONFIG_C_AMBEN_ALL
63 #define V_AMBEN AMBEN_ALL
68 #ifdef CONFIG_C_AMBEN_B0
69 #define V_AMBEN AMBEN_B0
71 #ifdef CONFIG_C_AMBEN_B0_B1
72 #define V_AMBEN AMBEN_B0_B1
74 #ifdef CONFIG_C_AMBEN_B0_B1_B2
75 #define V_AMBEN AMBEN_B0_B1_B2
77 #ifdef CONFIG_C_AMCKEN
78 #define V_AMCKEN AMCKEN
82 #ifdef CONFIG_C_CDPRIO
83 #define V_CDPRIO 0x100
88 #define AMGCTLVAL (V_AMBEN | V_AMCKEN | V_CDPRIO)
100 #error "Unknown CPU type - This kernel doesn't seem to be configured properly"