Fix arm-pl011-uart crate dependency name
The TForg arm-pl011 crate has been renamed to arm-pl011-uart, change the
dependency name.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I3eab978f88c1416b23dad1b795b9f9e27dd46386
diff --git a/Cargo.lock b/Cargo.lock
index ea54262..fa249c7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7,7 +7,7 @@
version = "0.1.0"
dependencies = [
"arm-gic",
- "arm-pl011",
+ "arm-pl011-uart",
"arm-sp805",
"spin",
]
@@ -21,9 +21,9 @@
]
[[package]]
-name = "arm-pl011"
+name = "arm-pl011-uart"
version = "0.1.0"
-source = "git+https://git.trustedfirmware.org/rust-spmc/arm-pl011.git#98117e065ecba746742964467aca324db1a8a002"
+source = "git+https://git.trustedfirmware.org/rust-spmc/arm-pl011-uart.git#cec9138935c44ac574c7d34797d0e0f4fc8f4909"
dependencies = [
"bitflags",
"embedded-hal-nb",
diff --git a/Cargo.toml b/Cargo.toml
index 96099e1..ead3e3a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,6 @@
[dependencies]
arm-gic = { git = "https://git.trustedfirmware.org/rust-spmc/arm-gic.git" }
-arm-pl011 = { git = "https://git.trustedfirmware.org/rust-spmc/arm-pl011.git" }
+arm-pl011-uart = { git = "https://git.trustedfirmware.org/rust-spmc/arm-pl011-uart.git" }
arm-sp805 = { git = "https://git.trustedfirmware.org/rust-spmc/arm-sp805.git" }
spin = { version = "0.9", default-features = false, features = ["spin_mutex"] }
diff --git a/src/lib.rs b/src/lib.rs
index 3c1d01e..2845da4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,7 +15,7 @@
use spin::mutex::Mutex;
use arm_gic::GICDRegisters;
-use arm_pl011::PL011Registers;
+use arm_pl011_uart::PL011Registers;
use arm_sp805::SP805Registers;
/// UART0 - PL011