projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a2f7a
)
rockchip: board: change condition board_usb_init() in function
author
Johan Jonker
<jbx6244@gmail.com>
Fri, 29 Apr 2022 21:40:07 +0000
(23:40 +0200)
committer
Kever Yang
<kever.yang@rock-chips.com>
Wed, 29 Jun 2022 03:28:16 +0000
(11:28 +0800)
Change define condition in board_usb_init() function
to allow rk3066/rk3188 to use the USB PHY driver.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/board.c
b/arch/arm/mach-rockchip/board.c
index 5304eb055c6dca8722dab976eb422ecbbe55c52f..cbe00d646cc9a12206f4d69e77830df4505eea80 100644
(file)
--- a/
arch/arm/mach-rockchip/board.c
+++ b/
arch/arm/mach-rockchip/board.c
@@
-90,7
+90,7
@@
int board_usb_init(int index, enum usb_init_type init)
}
otg_data.regs_otg = ofnode_get_addr(node);
-#ifdef CONFIG_ROCKCHIP_
RK3288
+#ifdef CONFIG_ROCKCHIP_
USB2_PHY
int ret;
u32 phandle, offset;
ofnode phy_node;