aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-04-23 17:13:10 -0400
committerBryan Wu <cooloney@kernel.org>2008-04-23 17:13:10 -0400
commit8cab0288c6376b9c00155b0802cbe84118d1ba89 (patch)
treea15006fc3f6dc6c0895e64aec31ccb39ac9d981f /arch/blackfin
parent3132b58679261ee0edfda3a846539bb1b0750705 (diff)
[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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/cplb-mpu/cplbinit.c2
-rw-r--r--arch/blackfin/kernel/cplb-nompu/cplbinit.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c
index 7310e5fc6399..48060105346a 100644
--- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c
+++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c
@@ -43,6 +43,8 @@ void __init generate_cpl_tables(void)
43 unsigned long d_data, i_data; 43 unsigned long d_data, i_data;
44 unsigned long d_cache = 0, i_cache = 0; 44 unsigned long d_cache = 0, i_cache = 0;
45 45
46 printk(KERN_INFO "MPU: setting up cplb tables with memory protection\n");
47
46#ifdef CONFIG_BFIN_ICACHE 48#ifdef CONFIG_BFIN_ICACHE
47 i_cache = CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND; 49 i_cache = CPLB_L1_CHBL | ANOMALY_05000158_WORKAROUND;
48#endif 50#endif
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c
index dd46b666fd4d..f271f39d5655 100644
--- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c
+++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c
@@ -318,6 +318,8 @@ void __init generate_cpl_tables(void)
318 struct cplb_tab *t_d = NULL; 318 struct cplb_tab *t_d = NULL;
319 struct s_cplb cplb; 319 struct s_cplb cplb;
320 320
321 printk(KERN_INFO "NOMPU: setting up cplb tables for global access\n");
322
321 cplb.init_i.size = MAX_CPLBS; 323 cplb.init_i.size = MAX_CPLBS;
322 cplb.init_d.size = MAX_CPLBS; 324 cplb.init_d.size = MAX_CPLBS;
323 cplb.switch_i.size = MAX_SWITCH_I_CPLBS; 325 cplb.switch_i.size = MAX_SWITCH_I_CPLBS;