blob: 0d29e44a914cb93d4e8991a04bac5d575fcd493a [file] [log] [blame]
Anatolij Gustschine9c847c2016-11-14 16:07:10 +01001/*
2 * Copyright (C) 2012 Altera Corporation <www.altera.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6#include <common.h>
7#include <spl.h>
8
9void board_boot_order(u32 *spl_boot_list)
10{
11 spl_boot_list[0] = spl_boot_device();
12
13 switch (spl_boot_list[0]) {
14 case BOOT_DEVICE_MMC1:
15 spl_boot_list[0] = BOOT_DEVICE_MMC1;
16 spl_boot_list[1] = BOOT_DEVICE_UART;
17 break;
18 }
19}