From: Johan Jonker Date: Fri, 29 Apr 2022 21:40:07 +0000 (+0200) Subject: rockchip: board: change condition board_usb_init() in function X-Git-Tag: baikal/mips/sdk5.9~3^2~12^2~11 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=76e5aef208262df4cd26cc81c253d060f531b667;p=uboot.git 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 Reviewed-by: Kever Yang --- 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;