xs1_su_periph -> usb_tile

This commit is contained in:
Ross Owen
2013-07-10 15:02:13 +01:00
parent 978a2d494d
commit 5dd1cc844f

View File

@@ -15,7 +15,7 @@ void device_reboot_implementation(chanend spare)
/* Ideally we would reset SU1 here but then we loose power to the xcore and therefore the DFU flag */
/* Disable USB and issue reset to xcore only - not analogue chip */
write_node_config_reg(xs1_su_periph, XS1_SU_CFG_RST_MISC_NUM,0b10);
write_node_config_reg(usb_tile, XS1_SU_CFG_RST_MISC_NUM,0b10);
#else
outct(spare, XS1_CT_END); // have to do this before freeing the chanend
inct(spare); // Receive end ct from usb_buffer to close down in both directions