]> err.no Git - linux-2.6/commitdiff
[Blackfin] arch: add boot messages to quickly distinguish between MPU/NOMPU settings
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 23 Apr 2008 21:13:10 +0000 (05:13 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 23 Apr 2008 21:13:10 +0000 (05:13 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/cplb-mpu/cplbinit.c
arch/blackfin/kernel/cplb-nompu/cplbinit.c

index 7310e5fc6399b65afe503d1e1effe9083e9dd2f9..48060105346adab6481be7119b534a717f475fe2 100644 (file)
@@ -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
index dd46b666fd4d75b086611fd47905b81bd0d83dcc..f271f39d5655fc1bf619a71f09904cd6817780a6 100644 (file)
@@ -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;