Skip to content

Commit c5424c3

Browse files
committed
[opentitanlib] drop ultradebug
This transport is no longer used. Signed-off-by: Gary Guo <[email protected]>
1 parent ce4f4cd commit c5424c3

File tree

13 files changed

+1
-1227
lines changed

13 files changed

+1
-1227
lines changed

sw/host/opentitanlib/BUILD

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ rust_library(
7070
"src/backend/mod.rs",
7171
"src/backend/proxy.rs",
7272
"src/backend/ti50emulator.rs",
73-
"src/backend/ultradebug.rs",
7473
"src/backend/verilator.rs",
7574
"src/bootstrap/eeprom.rs",
7675
"src/bootstrap/legacy.rs",
@@ -213,11 +212,6 @@ rust_library(
213212
"src/transport/ti50emulator/mod.rs",
214213
"src/transport/ti50emulator/spi.rs",
215214
"src/transport/ti50emulator/uart.rs",
216-
"src/transport/ultradebug/gpio.rs",
217-
"src/transport/ultradebug/mod.rs",
218-
"src/transport/ultradebug/mpsse.rs",
219-
"src/transport/ultradebug/spi.rs",
220-
"src/transport/ultradebug/uart.rs",
221215
"src/transport/verilator/gpio.rs",
222216
"src/transport/verilator/mod.rs",
223217
"src/transport/verilator/subprocess.rs",

sw/host/opentitanlib/src/app/config/h1dx_devboard_ultradebug.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

sw/host/opentitanlib/src/app/config/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ static BUILTINS: Lazy<HashMap<&'static str, &'static str>> = Lazy::new(|| {
6363
"/__builtin__/h1dx_devboard.json" => include_str!("h1dx_devboard.json"),
6464
"/__builtin__/h1dx_devboard_c2d2.json" => include_str!("h1dx_devboard_c2d2.json"),
6565
"/__builtin__/servo_micro.json" => include_str!("servo_micro.json"),
66-
"/__builtin__/h1dx_devboard_ultradebug.json" => include_str!("h1dx_devboard_ultradebug.json"),
6766
"/__builtin__/ti50emulator.json" => include_str!("ti50emulator.json"),
6867
"/__builtin__/opentitan_cw310.json" => include_str!("opentitan_cw310.json"),
6968
"/__builtin__/opentitan_cw340.json" => include_str!("opentitan_cw340.json"),
@@ -75,7 +74,6 @@ static BUILTINS: Lazy<HashMap<&'static str, &'static str>> = Lazy::new(|| {
7574
"/__builtin__/hyperdebug_cw340.json" => include_str!("hyperdebug_cw340.json"),
7675
"/__builtin__/hyperdebug_teacup.json" => include_str!("hyperdebug_teacup.json"),
7776
"/__builtin__/hyperdebug_teacup_default.json" => include_str!("hyperdebug_teacup_default.json"),
78-
"/__builtin__/opentitan_ultradebug.json" => include_str!("opentitan_ultradebug.json"),
7977
"/__builtin__/opentitan_verilator.json" => include_str!("opentitan_verilator.json"),
8078
}
8179
});

sw/host/opentitanlib/src/app/config/opentitan_ultradebug.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

sw/host/opentitanlib/src/backend/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mod ftdi;
2323
mod hyperdebug;
2424
mod proxy;
2525
mod ti50emulator;
26-
mod ultradebug;
2726
mod verilator;
2827

2928
#[derive(Debug, Args)]
@@ -98,10 +97,6 @@ pub fn create(args: &BackendOpts) -> Result<TransportWrapper> {
9897
ti50emulator::create(&args.ti50emulator_opts)?,
9998
Some(Path::new("/__builtin__/ti50emulator.json")),
10099
),
101-
"ultradebug" => (
102-
ultradebug::create(args)?,
103-
Some(Path::new("/__builtin__/opentitan_ultradebug.json")),
104-
),
105100
"hyper310" => (
106101
hyperdebug::create::<ChipWhispererFlavor<Cw310>>(args)?,
107102
Some(Path::new("/__builtin__/hyperdebug_cw310.json")),

sw/host/opentitanlib/src/backend/ultradebug.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.

sw/host/opentitanlib/src/transport/dediprog/gpio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl DediprogPin {
2828
})
2929
}
3030

31-
/// Given an ultradebug pin name, return its pin number.
31+
/// Given a dediprog pin name, return its pin number.
3232
pub fn pin_name_to_number(pinname: &str) -> Result<u8> {
3333
// If the pinname is an integer, use it; otherwise try to see if it
3434
// is a symbolic name of a pin.

sw/host/opentitanlib/src/transport/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub mod hyperdebug;
2727
pub mod ioexpander;
2828
pub mod proxy;
2929
pub mod ti50emulator;
30-
pub mod ultradebug;
3130
pub mod verilator;
3231

3332
// Export custom error types

sw/host/opentitanlib/src/transport/ultradebug/gpio.rs

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)