blob: 59f24011703f07341c443386c0315d5f92d305fa [file] [log] [blame]
Simon Glassa7e2d4d2016-07-04 11:57:51 -06001/*
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 */
17int spl_board_load_image(void);
18
19enum {
20 BOOT_DEVICE_BOARD,
21};
22
23#endif