|
@@ -1,6 +1,6 @@
|
|
|
use serde_device_tree::Dtb;
|
|
|
|
|
|
-use crate::dt::{self, Tree};
|
|
|
+use crate::dt;
|
|
|
use crate::sbi::reset;
|
|
|
|
|
|
#[cfg(not(feature = "payload"))]
|
|
@@ -18,14 +18,6 @@ pub fn device_tree_format(_err: dt::ParseDeviceTreeError) -> Dtb {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-/// Handles device tree deserialization errors by logging and resetting.
|
|
|
-#[cold]
|
|
|
-pub fn device_tree_deserialize<'a>(_err: serde_device_tree::error::Error) -> Tree<'a> {
|
|
|
- loop {
|
|
|
- core::hint::spin_loop()
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
#[cold]
|
|
|
pub fn device_tree_deserialize_root<'a>(
|
|
|
_err: serde_device_tree::error::Error,
|