Merge branch 'swap-kernel' of github.com:betrusted-io/xous-core into swap-kernel

This commit is contained in:
bunnie 2024-04-09 18:54:49 +08:00
commit c8f104326a
2 changed files with 2 additions and 1 deletions

View file

@ -141,7 +141,7 @@ pub fn early_init() {
#[cfg(feature = "board-bringup")]
{
// do a quick TRNG test.
let mut trng = sce::trng::Trng::new(HW_TRNG_BASE);
let mut trng = cramium_hal::sce::trng::Trng::new(HW_TRNG_BASE);
trng.setup_raw_generation(256);
for _ in 0..8 {
crate::println!("trng raw: {:x}", trng.get_u32().unwrap_or(0xDEAD_BEEF));

View file

@ -142,6 +142,7 @@ impl XousDisplay {
// one extra line for handling the addressing setup
(FB_LINES + 1) * FB_WIDTH_WORDS * size_of::<u32>(),
0,
None,
)
.expect("Couldn't allocate SPI channel for LCD")
};