x86: Add a simple TPL implementation
[oweals/u-boot.git] / arch / x86 / include / asm / spl.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2017 Google, Inc
4  * Written by Simon Glass <sjg@chromium.org>
5  */
6
7 #ifndef __asm_spl_h
8 #define __asm_spl_h
9
10 #define CONFIG_SPL_BOARD_LOAD_IMAGE
11
12 enum {
13         BOOT_DEVICE_SPI         = 10,
14         BOOT_DEVICE_BOARD,
15         BOOT_DEVICE_CROS_VBOOT,
16 };
17
18 void jump_to_spl(ulong entry);
19
20 #endif