Michal Simek | 962c10a | 2023-11-06 12:56:47 +0100 | [diff] [blame] | 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 | |
Michal Simek | 54a898c | 2024-02-14 12:52:33 +0100 | [diff] [blame] | 8 | #include <spl.h> |
| 9 | |
Michal Simek | 962c10a | 2023-11-06 12:56:47 +0100 | [diff] [blame] | 10 | int board_init(void) |
| 11 | { |
| 12 | return 0; |
| 13 | } |
Michal Simek | 54a898c | 2024-02-14 12:52:33 +0100 | [diff] [blame] | 14 | |
| 15 | #ifdef CONFIG_SPL |
| 16 | u32 spl_boot_device(void) |
| 17 | { |
| 18 | /* RISC-V QEMU only supports RAM as SPL boot device */ |
| 19 | return BOOT_DEVICE_RAM; |
| 20 | } |
| 21 | #endif |