summaryrefslogtreecommitdiffstats
path: root/board/qemu-malta/qemu-malta.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/qemu-malta/qemu-malta.c')
-rw-r--r--board/qemu-malta/qemu-malta.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/qemu-malta/qemu-malta.c b/board/qemu-malta/qemu-malta.c
new file mode 100644
index 0000000000..9ba711dba3
--- /dev/null
+++ b/board/qemu-malta/qemu-malta.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#include <common.h>
+
+phys_size_t initdram(int board_type)
+{
+ return CONFIG_SYS_MEM_SIZE;
+}
+
+int checkboard(void)
+{
+ puts("Board: MIPS Malta CoreLV (Qemu)\n");
+ return 0;
+}
OpenPOWER on IntegriCloud