From 9e3247da3b902c74a52e2fc6f8ec171f685c675b Mon Sep 17 00:00:00 2001 From: chenxing Date: Wed, 23 Jan 2013 22:57:44 +0800 Subject: [PATCH] rk3188: clock clock_data debug --- arch/arm/mach-rk3188/clock_data.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-rk3188/clock_data.c b/arch/arm/mach-rk3188/clock_data.c index cb1efb83ba04..6797ebabf734 100755 --- a/arch/arm/mach-rk3188/clock_data.c +++ b/arch/arm/mach-rk3188/clock_data.c @@ -174,12 +174,12 @@ void rk30_clkdev_add(struct clk_lookup *cl); #define cru_writel_frac(v,offset) cru_writel((v),(offset)) #endif -#define DEBUG +//#define DEBUG #ifdef DEBUG -//#define CLKDATA_DBG(fmt, args...) printk(KERN_DEBUG "CLKDATA_DBG:\t"fmt, ##args) -//#define CLKDATA_LOG(fmt, args...) printk(KERN_INFO "CLKDATA_LOG:\t"fmt, ##args) -#define CLKDATA_DBG(fmt, args...) printk("CLKDATA_DBG:\t"fmt, ##args) -#define CLKDATA_LOG(fmt, args...) printk("CLKDATA_LOG:\t"fmt, ##args) +#define CLKDATA_DBG(fmt, args...) printk(KERN_DEBUG "CLKDATA_DBG:\t"fmt, ##args) +#define CLKDATA_LOG(fmt, args...) printk(KERN_INFO "CLKDATA_LOG:\t"fmt, ##args) +//#define CLKDATA_DBG(fmt, args...) printk("CLKDATA_DBG:\t"fmt, ##args) +//#define CLKDATA_LOG(fmt, args...) printk("CLKDATA_LOG:\t"fmt, ##args) #else #define CLKDATA_DBG(fmt, args...) do {} while(0) #define CLKDATA_LOG(fmt, args...) do {} while(0) @@ -3160,7 +3160,7 @@ void __init _rk30_clock_data_init(unsigned long gpll, unsigned long cpll, int fl * enable other clocks as necessary */ rk30_init_enable_clocks(); -#if 1 +#if 0 // print loader config CLKDATA_DBG("%s clks register dbg start\n", __func__); rk_dump_clock_info(); -- 2.34.1