[bootloader] Add loongarch64 support for bootloader
This commit is contained in:
parent
7aafeec2cb
commit
dca5d9b52b
@ -520,6 +520,8 @@ def get_grub_efi_parameters():
|
||||
return ("i386-efi", "grubia32.efi", "bootia32.efi")
|
||||
elif efi_bitness == "64" and cpu_type == "aarch64":
|
||||
return ("arm64-efi", "grubaa64.efi", "bootaa64.efi")
|
||||
elif efi_bitness == "64" and cpu_type == "loongarch64":
|
||||
return ("loongarch64-efi", "grubloongarch64.efi", "bootloongarch64.efi")
|
||||
elif efi_bitness == "64":
|
||||
# If it's not ARM, must by AMD64
|
||||
return ("x86_64-efi", "grubx64.efi", "bootx64.efi")
|
||||
|
Loading…
Reference in New Issue
Block a user