summaryrefslogtreecommitdiff
path: root/board/xilinx/mbv/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/mbv/board.c')
-rw-r--r--board/xilinx/mbv/board.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/xilinx/mbv/board.c b/board/xilinx/mbv/board.c
index ccf4395d6ac..c478f7e04a0 100644
--- a/board/xilinx/mbv/board.c
+++ b/board/xilinx/mbv/board.c
@@ -5,7 +5,17 @@
* Michal Simek <michal.simek@amd.com>
*/
+#include <spl.h>
+
int board_init(void)
{
return 0;
}
+
+#ifdef CONFIG_SPL
+u32 spl_boot_device(void)
+{
+ /* RISC-V QEMU only supports RAM as SPL boot device */
+ return BOOT_DEVICE_RAM;
+}
+#endif