Skip to content

Commit

Permalink
configurator: Re-organize module layout
Browse files Browse the repository at this point in the history
Code in `fdt.rs` do not contain architecture specific code as of
`aarch64`, it's only used by `aarch64`, move it one level up to allow
reusing on riscv64 platform.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
  • Loading branch information
TimePrinciple committed Oct 20, 2024
1 parent 5f59395 commit a099c14
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
7 changes: 0 additions & 7 deletions src/configurator/aarch64/mod.rs

This file was deleted.

File renamed without changes.
5 changes: 2 additions & 3 deletions src/configurator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ mod x86_64;
pub use x86_64::*;

#[cfg(target_arch = "aarch64")]
mod aarch64;
#[cfg(target_arch = "aarch64")]
pub use aarch64::*;
mod fdt;

use std::cmp::max;
use std::mem::size_of;

Expand Down

0 comments on commit a099c14

Please sign in to comment.