Go to the documentation of this file.
9 #ifndef _BFIN_GLOBAL_H_
10 #define _BFIN_GLOBAL_H_
14 #include <linux/linkage.h>
15 #include <linux/types.h>
17 #if defined(CONFIG_DMA_UNCACHED_32M)
18 # define DMA_UNCACHED_REGION (32 * 1024 * 1024)
19 #elif defined(CONFIG_DMA_UNCACHED_16M)
20 # define DMA_UNCACHED_REGION (16 * 1024 * 1024)
21 #elif defined(CONFIG_DMA_UNCACHED_8M)
22 # define DMA_UNCACHED_REGION (8 * 1024 * 1024)
23 #elif defined(CONFIG_DMA_UNCACHED_4M)
24 # define DMA_UNCACHED_REGION (4 * 1024 * 1024)
25 #elif defined(CONFIG_DMA_UNCACHED_2M)
26 # define DMA_UNCACHED_REGION (2 * 1024 * 1024)
27 #elif defined(CONFIG_DMA_UNCACHED_1M)
28 # define DMA_UNCACHED_REGION (1024 * 1024)
29 #elif defined(CONFIG_DMA_UNCACHED_512K)
30 # define DMA_UNCACHED_REGION (512 * 1024)
31 #elif defined(CONFIG_DMA_UNCACHED_256K)
32 # define DMA_UNCACHED_REGION (256 * 1024)
33 #elif defined(CONFIG_DMA_UNCACHED_128K)
34 # define DMA_UNCACHED_REGION (128 * 1024)
36 # define DMA_UNCACHED_REGION (0)
45 extern unsigned long get_sclk0(
void);
46 extern unsigned long get_sclk1(
void);
47 extern unsigned long get_dclk(
void);
53 #if defined(CONFIG_DEBUG_VERBOSE)
58 #define dump_bfin_process(regs)
59 #define dump_bfin_mem(regs)
60 #define dump_bfin_trace_buffer()
77 #define L1_INST_SRAM 0x00000001
78 #define L1_DATA_A_SRAM 0x00000002
79 #define L1_DATA_B_SRAM 0x00000004
80 #define L1_DATA_SRAM 0x00000006
81 #define L2_SRAM 0x00000008