From 1c4bd8ede997e049fe061a580cfe64839b460540 Mon Sep 17 00:00:00 2001 From: kfx Date: Wed, 31 Oct 2012 16:13:47 +0800 Subject: [PATCH] rk2928: set usb mode(default) if not select CONFIG_RK_USB_UART --- arch/arm/mach-rk2928/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rk2928/common.c b/arch/arm/mach-rk2928/common.c index bfcbd008f1de..7fd56af79725 100755 --- a/arch/arm/mach-rk2928/common.c +++ b/arch/arm/mach-rk2928/common.c @@ -131,6 +131,8 @@ void __init rk2928_map_io(void) #ifdef CONFIG_RK_USB_UART writel_relaxed(0x007f0051, RK2928_GRF_BASE + GRF_UOC0_CON5); writel_relaxed(0x34003000, RK2928_GRF_BASE + GRF_UOC1_CON4); + #else + writel_relaxed(0x34000000, RK2928_GRF_BASE + GRF_UOC1_CON4); #endif writel_relaxed(0x07, DEBUG_UART_BASE + 0x88); writel_relaxed(0x07, DEBUG_UART_BASE + 0x88); -- 2.34.1