提交 8cab0288 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

[Blackfin] arch: add boot messages to quickly distinguish between MPU/NOMPU settings

Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 3132b586
...@@ -43,6 +43,8 @@ void __init generate_cpl_tables(void) ...@@ -43,6 +43,8 @@ void __init generate_cpl_tables(void)
unsigned long d_data, i_data; unsigned long d_data, i_data;
unsigned long d_cache = 0, i_cache = 0; unsigned long d_cache = 0, i_cache = 0;
printk(KERN_INFO "MPU: setting up cplb tables with memory protection\n");
#ifdef CONFIG_BFIN_ICACHE #ifdef CONFIG_BFIN_ICACHE
i_cache = CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND; i_cache = CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND;
#endif #endif
......
...@@ -318,6 +318,8 @@ void __init generate_cpl_tables(void) ...@@ -318,6 +318,8 @@ void __init generate_cpl_tables(void)
struct cplb_tab *t_d = NULL; struct cplb_tab *t_d = NULL;
struct s_cplb cplb; struct s_cplb cplb;
printk(KERN_INFO "NOMPU: setting up cplb tables for global access\n");
cplb.init_i.size = MAX_CPLBS; cplb.init_i.size = MAX_CPLBS;
cplb.init_d.size = MAX_CPLBS; cplb.init_d.size = MAX_CPLBS;
cplb.switch_i.size = MAX_SWITCH_I_CPLBS; cplb.switch_i.size = MAX_SWITCH_I_CPLBS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册