From 3e4688fcbc2baf07c437145c01c4f5ab44e8dd80 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 21 Dec 2021 10:32:37 -0700 Subject: [PATCH] Remove libs/smmstore Replace the stand-alone smmstore app in favor of the read example in firmware-smmstore. Signed-off-by: Tim Crawford --- .gitmodules | 4 ---- libs/smmstore | 1 - scripts/smmstore.sh | 4 ++-- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 160000 libs/smmstore diff --git a/.gitmodules b/.gitmodules index 150ec81..3f6be75 100644 --- a/.gitmodules +++ b/.gitmodules @@ -82,10 +82,6 @@ path = FSP url = https://github.com/IntelFsp/FSP.git branch = master -[submodule "libs/smmstore"] - path = libs/smmstore - url = https://github.com/system76/smmstore.git - branch = master [submodule "apps/firmware-smmstore"] path = apps/firmware-smmstore url = https://github.com/system76/firmware-smmstore.git diff --git a/libs/smmstore b/libs/smmstore deleted file mode 160000 index 4c0e549..0000000 --- a/libs/smmstore +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4c0e549e31f0589e4dbc77403a9d0c273fe17b77 diff --git a/scripts/smmstore.sh b/scripts/smmstore.sh index d64adac..e58b9ed 100755 --- a/scripts/smmstore.sh +++ b/scripts/smmstore.sh @@ -8,5 +8,5 @@ sudo ./libs/intel-spi/target/release/examples/read make -C coreboot/util/cbfstool -j "$(nproc)" ./coreboot/util/cbfstool/cbfstool read.rom read -r SMMSTORE -f smmstore.rom -cargo build --manifest-path libs/smmstore/Cargo.toml --release -./libs/smmstore/target/release/smmstore smmstore.rom +cargo build --manifest-path apps/firmware-smmstore/Cargo.toml --example read --release +./apps/firmware-smmstore/target/release/examples/read