mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			350 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			350 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 *  Copyright (C) 2012 Altera Corporation <www.altera.com>
 | 
						|
 */
 | 
						|
#include <spl.h>
 | 
						|
 | 
						|
void board_boot_order(u32 *spl_boot_list)
 | 
						|
{
 | 
						|
	spl_boot_list[0] = spl_boot_device();
 | 
						|
 | 
						|
	switch (spl_boot_list[0]) {
 | 
						|
	case BOOT_DEVICE_MMC1:
 | 
						|
		spl_boot_list[0] = BOOT_DEVICE_MMC1;
 | 
						|
		spl_boot_list[1] = BOOT_DEVICE_UART;
 | 
						|
		break;
 | 
						|
	}
 | 
						|
}
 |