mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
7c03caf6fa
Add the required CPU code so that TPL builds correctly. Also update the SPL code to deal with being booted from TPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
20 lines
324 B
C
20 lines
324 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2017 Google, Inc
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*/
|
|
|
|
#ifndef __asm_spl_h
|
|
#define __asm_spl_h
|
|
|
|
#define CONFIG_SPL_BOARD_LOAD_IMAGE
|
|
|
|
enum {
|
|
BOOT_DEVICE_SPI = 10,
|
|
BOOT_DEVICE_BOARD,
|
|
BOOT_DEVICE_CROS_VBOOT,
|
|
};
|
|
|
|
void jump_to_spl(ulong entry);
|
|
|
|
#endif
|