Anatolij Gustschin | e9c847c | 2016-11-14 16:07:10 +0100 | [diff] [blame] | 1 | /* |
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 | |||||
9 | void 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 | } |