summaryrefslogtreecommitdiff
path: root/board/xilinx/mbv/board.c
blob: 2b0005955ca5a7a21523b4c865ac64261512d713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0+
/*
 * (C) Copyright 2023-2025, Advanced Micro Devices, Inc.
 *
 * Michal Simek <[email protected]>
 */

#include <spl.h>

#ifdef CONFIG_SPL
void board_boot_order(u32 *spl_boot_list)
{
	u32 i = 0;

	if (CONFIG_IS_ENABLED(SPI_FLASH_SUPPORT))
		spl_boot_list[i++] = BOOT_DEVICE_SPI;

	if (CONFIG_IS_ENABLED(RAM_SUPPORT))
		spl_boot_list[i++] = BOOT_DEVICE_RAM;

}
#endif