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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user