summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c')
-rw-r--r--qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c b/qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c
new file mode 100644
index 000000000..882b0a424
--- /dev/null
+++ b/qemu/roms/u-boot/board/gaisler/grsim_leon2/grsim_leon2.c
@@ -0,0 +1,27 @@
+/*
+ * GRSIM/TSIM board
+ *
+ * (C) Copyright 2007
+ * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <asm/leon.h>
+
+phys_size_t initdram(int board_type)
+{
+ return 1;
+}
+
+int checkboard(void)
+{
+ puts("Board: GRSIM/TSIM LEON2\n");
+ return 0;
+}
+
+int misc_init_r(void)
+{
+ return 0;
+}