Blackfin arch: Modify some funtion names to more genernal ones

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
Graf Yang 2008-10-08 17:32:57 +08:00 committed by Bryan Wu
parent 5e95320f9f
commit 5b04f271fe
5 changed files with 8 additions and 8 deletions

View File

@ -90,6 +90,6 @@ extern u_long dpdt_swapcount_table[];
extern unsigned long reserved_mem_dcache_on; extern unsigned long reserved_mem_dcache_on;
extern unsigned long reserved_mem_icache_on; extern unsigned long reserved_mem_icache_on;
extern void generate_cpl_tables(void); extern void generate_cplb_tables(void);
#endif #endif

View File

@ -36,7 +36,7 @@ struct cplb_entry dcplb_tbl[MAX_CPLBS];
int first_switched_icplb, first_switched_dcplb; int first_switched_icplb, first_switched_dcplb;
int first_mask_dcplb; int first_mask_dcplb;
void __init generate_cpl_tables(void) void __init generate_cplb_tables(void)
{ {
int i_d, i_i; int i_d, i_i;
unsigned long addr; unsigned long addr;

View File

@ -308,7 +308,7 @@ __fill_data_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_end)
} }
} }
void __init generate_cpl_tables(void) void __init generate_cplb_tables(void)
{ {
u16 i, j, process; u16 i, j, process;

View File

@ -78,10 +78,10 @@ static struct change_member *change_point[2*BFIN_MEMMAP_MAX] __initdata;
static struct bfin_memmap_entry *overlap_list[BFIN_MEMMAP_MAX] __initdata; static struct bfin_memmap_entry *overlap_list[BFIN_MEMMAP_MAX] __initdata;
static struct bfin_memmap_entry new_map[BFIN_MEMMAP_MAX] __initdata; static struct bfin_memmap_entry new_map[BFIN_MEMMAP_MAX] __initdata;
void __init bf53x_cache_init(void) void __init bfin_cache_init(void)
{ {
#if defined(CONFIG_BFIN_DCACHE) || defined(CONFIG_BFIN_ICACHE) #if defined(CONFIG_BFIN_DCACHE) || defined(CONFIG_BFIN_ICACHE)
generate_cpl_tables(); generate_cplb_tables();
#endif #endif
#ifdef CONFIG_BFIN_ICACHE #ifdef CONFIG_BFIN_ICACHE
@ -101,7 +101,7 @@ void __init bf53x_cache_init(void)
#endif #endif
} }
void __init bf53x_relocate_l1_mem(void) void __init bfin_relocate_l1_mem(void)
{ {
unsigned long l1_code_length; unsigned long l1_code_length;
unsigned long l1_data_a_length; unsigned long l1_data_a_length;
@ -860,7 +860,7 @@ void __init setup_arch(char **cmdline_p)
!= SAFE_USER_INSTRUCTION - FIXED_CODE_START); != SAFE_USER_INSTRUCTION - FIXED_CODE_START);
init_exception_vectors(); init_exception_vectors();
bf53x_cache_init(); bfin_cache_init();
} }
static int __init topology_init(void) static int __init topology_init(void)

View File

@ -141,7 +141,7 @@ ENTRY(__start)
#endif #endif
/* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */
call _bf53x_relocate_l1_mem; call _bfin_relocate_l1_mem;
#ifdef CONFIG_BFIN_KERNEL_CLOCK #ifdef CONFIG_BFIN_KERNEL_CLOCK
call _start_dma_code; call _start_dma_code;
#endif #endif