mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup some testing code that should have been eliminated from boot 1
also remove an unused dependency
This commit is contained in:
parent
1f438ae203
commit
e80a3dadfb
2 changed files with 0 additions and 5 deletions
|
|
@ -13,7 +13,6 @@ bao1x-api = { path = "../../libs/bao1x-api", optional = true, default-features =
|
|||
vexriscv = { version = "0.5.6", package = "xous-riscv" }
|
||||
riscv = { version = "0.14.0", features = ["critical-section-single-hart"] }
|
||||
linked_list_allocator = { version = "0.10.5", optional = true }
|
||||
xous-bio-bdma = { path = "../../libs/xous-bio-bdma", optional = true, default-features = false }
|
||||
critical-section = "1.2.0"
|
||||
ux-api = { path = "../../libs/ux-api", optional = true, default-features = false }
|
||||
simple-fatfs = { git = "https://github.com/betrusted-io/simple-fatfs.git", branch = "baosec", default-features = false }
|
||||
|
|
|
|||
|
|
@ -32,10 +32,6 @@ pub unsafe fn init_usb() {
|
|||
// setup the stack & controller
|
||||
// irq_setup(); // this is already assumed to have been called by early_init()!
|
||||
enable_irq(utralib::utra::irqarray1::IRQARRAY1_IRQ);
|
||||
// for testing
|
||||
enable_irq(utralib::utra::irqarray19::IRQARRAY19_IRQ);
|
||||
let mut irqarray19 = utralib::CSR::new(utralib::utra::irqarray19::HW_IRQARRAY19_BASE as *mut u32);
|
||||
irqarray19.wo(utralib::utra::irqarray19::EV_ENABLE, 0x80);
|
||||
|
||||
unsafe {
|
||||
USB = Some(usb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue