summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2022-04-29 23:40:07 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-06-29 11:28:16 +0800
commite0479b71ed549e3df79f8cd7aeb7c4b5ad3baa39 (patch)
tree19c1bb5aaa4fb9ded9ef7a8e6ecf6e866481ca12 /arch
parent42a2f7a46d8e4aff7415a6fbfe7507d5f08c4715 (diff)
downloadu-boot-e0479b71ed549e3df79f8cd7aeb7c4b5ad3baa39.tar.gz
u-boot-e0479b71ed549e3df79f8cd7aeb7c4b5ad3baa39.tar.bz2
u-boot-e0479b71ed549e3df79f8cd7aeb7c4b5ad3baa39.zip
rockchip: board: change condition board_usb_init() in function
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c
index 5304eb055c..cbe00d646c 100644
--- 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;