Skip to content

Commit 6447759

Browse files
committed
zephyr-build: devicetree: Move augments into module
The hard-coded augments in augment.rs are no long used, so remove them all, and move the config version into this file to avoid needing a separate module, just for the trait. Signed-off-by: David Brown <[email protected]>
1 parent afd5498 commit 6447759

File tree

4 files changed

+221
-496
lines changed

4 files changed

+221
-496
lines changed

zephyr-build/src/devicetree.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ use ordmap::OrdMap;
2424
use std::{cell::RefCell, collections::BTreeMap, path::Path, rc::Rc};
2525

2626
mod augment;
27-
pub mod config;
2827
mod ordmap;
2928
mod output;
3029
mod parse;
3130

32-
pub use augment::Augment;
31+
pub use augment::{Augment, load_augments};
3332

3433
pub struct DeviceTree {
3534
/// The root of the tree.

0 commit comments

Comments
 (0)