satman: gate gt_drtio against having drtio-eem

This commit is contained in:
occheung 2024-10-10 17:36:42 +08:00 committed by Sébastien Bourdeauducq
parent 65843696cd
commit e06534913c
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ pub extern fn main() -> i32 {
io_expander.service().unwrap();
}
#[cfg(not(soc_platform = "efc"))]
#[cfg(not(has_drtio_eem))]
unsafe {
csr::gt_drtio::txenable_write(0xffffffffu32 as _);
}