1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * (C) Copyright 2023, Advanced Micro Devices, Inc. 4 * 5 * Michal Simek <michal.simek@amd.com> 6 */ 7 8#include <spl.h> 9 10int board_init(void) 11{ 12 return 0; 13} 14 15#ifdef CONFIG_SPL 16u32 spl_boot_device(void) 17{ 18 /* RISC-V QEMU only supports RAM as SPL boot device */ 19 return BOOT_DEVICE_RAM; 20} 21#endif 22