From: 黄涛 Date: Mon, 3 Sep 2012 03:26:36 +0000 (+0800) Subject: rk3066b: common: remove debug uart init, which init by loader X-Git-Tag: firefly_0821_release~8756 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cd32d6c2525b1c56e19e54efda48477418a3eac9;p=firefly-linux-kernel-4.4.55.git rk3066b: common: remove debug uart init, which init by loader --- diff --git a/arch/arm/mach-rk30/common.c b/arch/arm/mach-rk30/common.c index 217ff4ae8b2e..4c9d7f7bf9df 100755 --- a/arch/arm/mach-rk30/common.c +++ b/arch/arm/mach-rk30/common.c @@ -120,16 +120,6 @@ int __init clk_disable_unused(void); void __init rk30_map_io(void) { rk30_map_common_io(); -#if defined(CONFIG_ARCH_RK3066B) && defined(DEBUG_UART_BASE) - writel_relaxed(0x000f0005, RK30_GRF_BASE + 0x74); - writel_relaxed(0x07, DEBUG_UART_BASE + 0x88); - writel_relaxed(0x07, DEBUG_UART_BASE + 0x88); - writel_relaxed(0x00, DEBUG_UART_BASE + 0x04); - writel_relaxed(0x83, DEBUG_UART_BASE + 0x0c); - writel_relaxed(0x0d, DEBUG_UART_BASE + 0x00); - writel_relaxed(0x00, DEBUG_UART_BASE + 0x04); - writel_relaxed(0x03, DEBUG_UART_BASE + 0x0c); -#endif rk29_setup_early_printk(); rk30_cpu_axi_init(); rk29_sram_init();