mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
move pl230 test to an easier place for checking
This commit is contained in:
parent
d0e638e020
commit
626d997868
1 changed files with 5 additions and 5 deletions
|
|
@ -246,6 +246,11 @@ pub fn early_init() -> u32 {
|
|||
clock_tests(&mut udma_uart);
|
||||
}
|
||||
|
||||
// do a PL230/PIO test. Toggles PB15 (PIO0) with an LFSR sequence.
|
||||
// let mut pl230 = xous_pl230::Pl230::new();
|
||||
// xous_pl230::pl230_tests::units::basic_tests(&mut pl230);
|
||||
// xous_pl230::pl230_tests::units::pio_test(&mut pl230);
|
||||
|
||||
// Setup some global control registers that will allow the TRNG to operate once the kernel is
|
||||
// booted. This is done so the kernel doesn't have to exclusively have rights to the SCE global
|
||||
// registers just for this purpose.
|
||||
|
|
@ -692,11 +697,6 @@ pub fn early_init() -> u32 {
|
|||
let trng_csr = CSR::new(HW_TRNG_BASE as *mut u32);
|
||||
crate::println!("trng status: {:x}", trng_csr.r(utra::trng::SFR_SR));
|
||||
|
||||
// do a PL230/PIO test. Toggles PB15 (PIO0) with an LFSR sequence.
|
||||
// let mut pl230 = xous_pl230::Pl230::new();
|
||||
// xous_pl230::pl230_tests::units::basic_tests(&mut pl230);
|
||||
// xous_pl230::pl230_tests::units::pio_test(&mut pl230);
|
||||
|
||||
const BANNER: &'static str = "\n\rKeep pressing keys to continue boot...\r\n";
|
||||
udma_uart.write(BANNER.as_bytes());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue