u32 temp;
int ret;
- puts("Starting the controller\n");
+ debug("Starting the controller\n");
temp = xhci_readl(&hcor->or_usbcmd);
temp |= (CMD_RUN);
xhci_writel(&hcor->or_usbcmd, temp);
assert 'USB init failed' not in output
assert 'starting USB...' in output
- if 'Starting the controller' in output:
+ if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')
assert 'USB init failed' not in output
assert 'resetting USB...' in output
- if 'Starting the controller' in output:
+ if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')