forked from Minki/linux
[Blackfin] arch: add boot messages to quickly distinguish between MPU/NOMPU settings
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
3132b58679
commit
8cab0288c6
@ -43,6 +43,8 @@ void __init generate_cpl_tables(void)
|
||||
unsigned long d_data, i_data;
|
||||
unsigned long d_cache = 0, i_cache = 0;
|
||||
|
||||
printk(KERN_INFO "MPU: setting up cplb tables with memory protection\n");
|
||||
|
||||
#ifdef CONFIG_BFIN_ICACHE
|
||||
i_cache = CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND;
|
||||
#endif
|
||||
|
@ -318,6 +318,8 @@ void __init generate_cpl_tables(void)
|
||||
struct cplb_tab *t_d = NULL;
|
||||
struct s_cplb cplb;
|
||||
|
||||
printk(KERN_INFO "NOMPU: setting up cplb tables for global access\n");
|
||||
|
||||
cplb.init_i.size = MAX_CPLBS;
|
||||
cplb.init_d.size = MAX_CPLBS;
|
||||
cplb.switch_i.size = MAX_SWITCH_I_CPLBS;
|
||||
|
Loading…
Reference in New Issue
Block a user