xref: /openbmc/u-boot/arch/sandbox/include/asm/spl.h (revision 77b93e5e)
1 /*
2  * Copyright (c) 2016 Google, Inc
3  * SPDX-License-Identifier:	GPL-2.0+
4  */
5 
6 #ifndef __asm_spl_h
7 #define __asm_spl_h
8 
9 #define CONFIG_SPL_BOARD_LOAD_IMAGE
10 
11 /**
12  * Board-specific load method for boards that have a special way of loading
13  * U-Boot, which does not fit with the existing SPL code.
14  *
15  * @return 0 on success, negative errno value on failure.
16  */
17 int spl_board_load_image(void);
18 
19 enum {
20 	BOOT_DEVICE_BOARD,
21 };
22 
23 #endif
24