summaryrefslogtreecommitdiffstats
path: root/src/shared/gpt.c
diff options
context:
space:
mode:
authorXiaotian Wu <wuxiaotian@loongson.cn>2021-04-19 15:03:32 +0200
committerXiaotian Wu <wuxiaotian@loongson.cn>2021-11-30 16:34:29 +0100
commit0444a6e4be6bdc4d57076609f182497ea79aa7b5 (patch)
tree6e072284d0d0ec4247532570f054717c0391d564 /src/shared/gpt.c
parentarchitecture: Add support for the LoongArch architecture (diff)
downloadsystemd-0444a6e4be6bdc4d57076609f182497ea79aa7b5.tar.xz
systemd-0444a6e4be6bdc4d57076609f182497ea79aa7b5.zip
gpt: update the gpt test case for LoongArch
Diffstat (limited to 'src/shared/gpt.c')
-rw-r--r--src/shared/gpt.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/shared/gpt.c b/src/shared/gpt.c
index bf494119b5..c01a57a5fb 100644
--- a/src/shared/gpt.c
+++ b/src/shared/gpt.c
@@ -28,16 +28,7 @@ const GptPartitionType gpt_partition_type_table[] = {
_GPT_ARCH_SEXTET(ARM, "arm"),
_GPT_ARCH_SEXTET(ARM64, "arm64"),
_GPT_ARCH_SEXTET(IA64, "ia64"),
-
- // TODO: Replace with `_GPT_ARCH_SEXTET(LOONGARCH64, "loongarch64")` once
- // https://github.com/systemd/systemd/pull/21288 is merged. */
- { GPT_ROOT_LOONGARCH64, "root-loongarch64", _ARCHITECTURE_INVALID, .is_root = true },
- { GPT_ROOT_LOONGARCH64_VERITY, "root-loongarch64-verity", _ARCHITECTURE_INVALID, .is_root_verity = true },
- { GPT_ROOT_LOONGARCH64_VERITY_SIG, "root-loongarch64-verity-sig", _ARCHITECTURE_INVALID, .is_root_verity_sig = true },
- { GPT_USR_LOONGARCH64, "usr-loongarch64", _ARCHITECTURE_INVALID, .is_usr = true },
- { GPT_USR_LOONGARCH64_VERITY, "usr-loongarch64-verity", _ARCHITECTURE_INVALID, .is_usr_verity = true },
- { GPT_USR_LOONGARCH64_VERITY_SIG, "usr-loongarch64-verity-sig", _ARCHITECTURE_INVALID, .is_usr_verity_sig = true },
-
+ _GPT_ARCH_SEXTET(LOONGARCH64, "loongarch64"),
_GPT_ARCH_SEXTET(MIPS_LE, "mips-le"),
_GPT_ARCH_SEXTET(MIPS64_LE, "mips64-le"),
_GPT_ARCH_SEXTET(PPC, "ppc"),