summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/spl.h
blob: 59f24011703f07341c443386c0315d5f92d305fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2016 Google, Inc
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __asm_spl_h
#define __asm_spl_h

#define CONFIG_SPL_BOARD_LOAD_IMAGE

/**
 * Board-specific load method for boards that have a special way of loading
 * U-Boot, which does not fit with the existing SPL code.
 *
 * @return 0 on success, negative errno value on failure.
 */
int spl_board_load_image(void);

enum {
	BOOT_DEVICE_BOARD,
};

#endif