summaryrefslogtreecommitdiff
path: root/target/loongarch/kernel/qemu-loongarch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-08-11 11:42:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-08-11 11:42:32 +0200
commitcf30d2922270a47c9e0336611477befcf8fa4239 (patch)
tree161a867e57a7962f28fe98fa4087d47d21cded9c /target/loongarch/kernel/qemu-loongarch
parent8d2b0f40a83c1e0544ab192a4236bf511d6ab506 (diff)
add basic loongarch support, qemu does not boot the kernel, yet
Diffstat (limited to 'target/loongarch/kernel/qemu-loongarch')
-rw-r--r--target/loongarch/kernel/qemu-loongarch7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/loongarch/kernel/qemu-loongarch b/target/loongarch/kernel/qemu-loongarch
new file mode 100644
index 000000000..582028585
--- /dev/null
+++ b/target/loongarch/kernel/qemu-loongarch
@@ -0,0 +1,7 @@
+CONFIG_LOONGARCH=y
+CONFIG_64BIT=y
+CONFIG_MACH_LOONGSON64=y
+CONFIG_EFI=y
+CONFIG_SMP=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y