void usb20host_hw_init(void) { // usb phy config init *(unsigned int *)(USBGRF_UOC1_CON0) = 0x07e70350; // other haredware init #ifdef CONFIG_RK_CONFIG host_drv_init(1); #endif }
void usb20host_hw_init(void) { // usb phy config init pGRF_USBPHY_REG GRF_USBPHY1 = (pGRF_USBPHY_REG)GRF_USBPHY1_CON_BASE; GRF_USBPHY1->CON7 = 0x78000000;//host_discon_con 575mv // other haredware init #ifdef CONFIG_RK_CONFIG host_drv_init(1); #endif }