You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
3422b34208
USB sub-system will have host controller scheduling frames on its own once it is initialized and enabled. Leaving it running while payload restarting or OS booting could potentially cause memory corruption since the DMA might still be running on the background targeting to previously allocated memory. The safer approach is to stop the USB controller. It also fixed #351. Signed-off-by: Maurice Ma <maurice.ma@intel.com>