mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
cleanup a couple of remaining debug prints
boot chain is closing in on feature-complete
This commit is contained in:
parent
f287ce457c
commit
88cbdbe076
2 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ pub unsafe extern "C" fn rust_entry() -> ! {
|
||||||
let mut board_type =
|
let mut board_type =
|
||||||
one_way.get_decoded::<bao1x_api::BoardTypeCoding>().expect("Board type coding error");
|
one_way.get_decoded::<bao1x_api::BoardTypeCoding>().expect("Board type coding error");
|
||||||
|
|
||||||
crate::println_d!("TX_IDLE: {:?}", crate::platform::usb::TX_IDLE.load(Ordering::SeqCst));
|
// crate::println_d!("TX_IDLE: {:?}", crate::platform::usb::TX_IDLE.load(Ordering::SeqCst));
|
||||||
let perclk: u32;
|
let perclk: u32;
|
||||||
(board_type, perclk) = crate::platform::early_init(board_type);
|
(board_type, perclk) = crate::platform::early_init(board_type);
|
||||||
// ensure we're running off the PLL
|
// ensure we're running off the PLL
|
||||||
|
|
|
||||||
|
|
@ -106,12 +106,14 @@ pub fn write_spim_page(addr: usize, data: Box<[u8; SPINOR_ERASE_SIZE as usize]>)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn setup() -> (UsbDeviceState, u32) {
|
pub fn setup() -> (UsbDeviceState, u32) {
|
||||||
|
/*
|
||||||
crate::println!(
|
crate::println!(
|
||||||
"RAM disk starts at {:x} and advertises {}kiB in length, but is actually {}kiB of storage",
|
"RAM disk starts at {:x} and advertises {}kiB in length, but is actually {}kiB of storage",
|
||||||
usb::RAMDISK_ADDRESS,
|
usb::RAMDISK_ADDRESS,
|
||||||
usb::RAMDISK_LEN / 1024,
|
usb::RAMDISK_LEN / 1024,
|
||||||
usb::RAMDISK_ACTUAL_LEN / 1024,
|
usb::RAMDISK_ACTUAL_LEN / 1024,
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
|
|
||||||
// safety: this is safe because we're calling this before any access to `USB` static mut
|
// safety: this is safe because we're calling this before any access to `USB` static mut
|
||||||
// state, and we also understand that the .data section doesn't exist in the loader and
|
// state, and we also understand that the .data section doesn't exist in the loader and
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue