https://bugzilla.tianocore.org/show_bug.cgi?id=3860

(This is migrated from edk2-platforms:Silicon/RISC-V)
Add RISC-V opensbi as the submoudle under UefiCpuPkg/Library/RISC-V

Signed-off-by: Abner Chang <abner.ch...@hpe.com>
Cc: Eric Dong <eric.d...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Daniel Schaefer <daniel.schae...@hpe.com>
Cc: Sunil V L <suni...@ventanamicro.com>
Cc: Andrew Fish <af...@apple.com>
Cc: Leif Lindholm <quic_llind...@quicinc.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Chao Li <lic...@loongson.cn>
---
 .gitmodules                                   | 45 ++++++++++---------
 .../Library/RISC-V/RiscVOpensbiLib/opensbi    |  1 +
 2 files changed, 25 insertions(+), 21 deletions(-)
 create mode 160000 UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi

diff --git a/.gitmodules b/.gitmodules
index b845c9ee3f..365bcd94bd 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,22 +1,25 @@
-[submodule "CryptoPkg/Library/OpensslLib/openssl"]
-       path = CryptoPkg/Library/OpensslLib/openssl
-       url = https://github.com/openssl/openssl
-[submodule "SoftFloat"]
-       path = ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3
-       url = https://github.com/ucb-bar/berkeley-softfloat-3.git
-[submodule "UnitTestFrameworkPkg/Library/CmockaLib/cmocka"]
-       path = UnitTestFrameworkPkg/Library/CmockaLib/cmocka
-       url = https://github.com/tianocore/edk2-cmocka.git
-[submodule "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma"]
-       path = MdeModulePkg/Universal/RegularExpressionDxe/oniguruma
-       url = https://github.com/kkos/oniguruma
-[submodule "MdeModulePkg/Library/BrotliCustomDecompressLib/brotli"]
-       path = MdeModulePkg/Library/BrotliCustomDecompressLib/brotli
-       url = https://github.com/google/brotli
-[submodule "BaseTools/Source/C/BrotliCompress/brotli"]
-       path = BaseTools/Source/C/BrotliCompress/brotli
-       url = https://github.com/google/brotli
+[submodule "CryptoPkg/Library/OpensslLib/openssl"]
+       path = CryptoPkg/Library/OpensslLib/openssl
+       url = https://github.com/openssl/openssl
+[submodule "SoftFloat"]
+       path = ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3
+       url = https://github.com/ucb-bar/berkeley-softfloat-3.git
+[submodule "UnitTestFrameworkPkg/Library/CmockaLib/cmocka"]
+       path = UnitTestFrameworkPkg/Library/CmockaLib/cmocka
+       url = https://github.com/tianocore/edk2-cmocka.git
+[submodule "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma"]
+       path = MdeModulePkg/Universal/RegularExpressionDxe/oniguruma
+       url = https://github.com/kkos/oniguruma
+[submodule "MdeModulePkg/Library/BrotliCustomDecompressLib/brotli"]
+       path = MdeModulePkg/Library/BrotliCustomDecompressLib/brotli
+       url = https://github.com/google/brotli
+[submodule "BaseTools/Source/C/BrotliCompress/brotli"]
+       path = BaseTools/Source/C/BrotliCompress/brotli
+       url = https://github.com/google/brotli
        ignore = untracked
-[submodule "RedfishPkg/Library/JsonLib/jansson"]
-       path = RedfishPkg/Library/JsonLib/jansson
-       url = https://github.com/akheron/jansson
+[submodule "RedfishPkg/Library/JsonLib/jansson"]
+       path = RedfishPkg/Library/JsonLib/jansson
+       url = https://github.com/akheron/jansson
+[submodule "UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi"]
+       path = UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi
+       url = https://github.com/riscv/opensbi
diff --git a/UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi 
b/UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi
new file mode 160000
index 0000000000..a731c7e369
--- /dev/null
+++ b/UefiCpuPkg/Library/RISC-V/RiscVOpensbiLib/opensbi
@@ -0,0 +1 @@
+Subproject commit a731c7e36988c3308e1978ecde491f2f6182d490
-- 
2.31.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87737): https://edk2.groups.io/g/devel/message/87737
Mute This Topic: https://groups.io/mt/89863234/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to