projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bd849a
)
rk2928: set usb mode(default) if not select CONFIG_RK_USB_UART
author
kfx
<kfx@rock-chips.com>
Wed, 31 Oct 2012 08:13:47 +0000
(16:13 +0800)
committer
kfx
<kfx@rock-chips.com>
Wed, 31 Oct 2012 08:13:47 +0000
(16:13 +0800)
arch/arm/mach-rk2928/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/common.c
b/arch/arm/mach-rk2928/common.c
index bfcbd008f1de5101afe739822c0272c48d03ea17..7fd56af797259ab74d203c0a003d3c8b7e34cc56 100755
(executable)
--- 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);