blob: ee79a19c05c986ad7904e520593e43276a4c105e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Tom Rini29d69dc2012-08-14 08:50:58 -07002/*
3 * (C) Copyright 2012
4 * Texas Instruments, <www.ti.com>
Tom Rini29d69dc2012-08-14 08:50:58 -07005 */
6#ifndef _ASM_SPL_H_
7#define _ASM_SPL_H_
8
Tom Rini893cd412022-06-10 22:59:33 -04009#if defined(CONFIG_ARCH_EXYNOS4) || defined(CONFIG_ARCH_EXYNOS5) || \
10 defined(CONFIG_ARCH_K3) || defined(CONFIG_ARCH_OMAP2PLUS)
Tom Rini29d69dc2012-08-14 08:50:58 -070011/* Platform-specific defines */
12#include <asm/arch/spl.h>
13
Masahiro Yamada74726562014-04-23 21:20:43 +090014#else
15enum {
16 BOOT_DEVICE_RAM,
17 BOOT_DEVICE_MMC1,
18 BOOT_DEVICE_MMC2,
19 BOOT_DEVICE_MMC2_2,
20 BOOT_DEVICE_NAND,
21 BOOT_DEVICE_ONENAND,
22 BOOT_DEVICE_NOR,
23 BOOT_DEVICE_UART,
24 BOOT_DEVICE_SPI,
Masahiro Yamada90c56052016-02-02 19:12:31 +090025 BOOT_DEVICE_USB,
Masahiro Yamada74726562014-04-23 21:20:43 +090026 BOOT_DEVICE_SATA,
27 BOOT_DEVICE_I2C,
Simon Glass040d8182015-02-07 10:47:29 -070028 BOOT_DEVICE_BOARD,
Michal Simek79f23272016-08-30 15:38:57 +020029 BOOT_DEVICE_DFU,
Vikas Manocha9e582652017-05-28 12:55:11 -070030 BOOT_DEVICE_XIP,
Philipp Tomsich83ad7022017-06-22 23:38:36 +020031 BOOT_DEVICE_BOOTROM,
Sean Anderson89346ad2022-03-22 16:59:19 -040032 BOOT_DEVICE_SMH,
Masahiro Yamada74726562014-04-23 21:20:43 +090033 BOOT_DEVICE_NONE
34};
35#endif
36
Simon Glassaeca9cc2015-03-03 08:02:58 -070037#ifndef CONFIG_DM
Tom Rini31dfba42012-08-22 15:31:05 -070038extern gd_t gdata;
Simon Glassaeca9cc2015-03-03 08:02:58 -070039#endif
Tom Rini31dfba42012-08-22 15:31:05 -070040
Tom Rini29d69dc2012-08-14 08:50:58 -070041#endif