2012-08-14 15:50:58 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2012
|
|
|
|
* Texas Instruments, <www.ti.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-08-14 15:50:58 +00:00
|
|
|
*/
|
|
|
|
#ifndef _ASM_SPL_H_
|
|
|
|
#define _ASM_SPL_H_
|
|
|
|
|
2017-05-13 02:33:16 +00:00
|
|
|
#if defined(CONFIG_ARCH_OMAP2PLUS) \
|
2014-04-23 12:20:43 +00:00
|
|
|
|| defined(CONFIG_EXYNOS4) || defined(CONFIG_EXYNOS5) \
|
|
|
|
|| defined(CONFIG_EXYNOS4210)
|
2012-08-14 15:50:58 +00:00
|
|
|
/* Platform-specific defines */
|
|
|
|
#include <asm/arch/spl.h>
|
|
|
|
|
2014-04-23 12:20:43 +00:00
|
|
|
#else
|
|
|
|
enum {
|
|
|
|
BOOT_DEVICE_RAM,
|
|
|
|
BOOT_DEVICE_MMC1,
|
|
|
|
BOOT_DEVICE_MMC2,
|
|
|
|
BOOT_DEVICE_MMC2_2,
|
|
|
|
BOOT_DEVICE_NAND,
|
|
|
|
BOOT_DEVICE_ONENAND,
|
|
|
|
BOOT_DEVICE_NOR,
|
|
|
|
BOOT_DEVICE_UART,
|
|
|
|
BOOT_DEVICE_SPI,
|
2016-02-02 10:12:31 +00:00
|
|
|
BOOT_DEVICE_USB,
|
2014-04-23 12:20:43 +00:00
|
|
|
BOOT_DEVICE_SATA,
|
|
|
|
BOOT_DEVICE_I2C,
|
2015-02-07 17:47:29 +00:00
|
|
|
BOOT_DEVICE_BOARD,
|
2016-08-30 13:38:57 +00:00
|
|
|
BOOT_DEVICE_DFU,
|
2014-04-23 12:20:43 +00:00
|
|
|
BOOT_DEVICE_NONE
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2012-08-22 22:31:05 +00:00
|
|
|
/* Linker symbols. */
|
2013-03-14 06:54:53 +00:00
|
|
|
extern char __bss_start[], __bss_end[];
|
2012-08-22 22:31:05 +00:00
|
|
|
|
2015-03-03 15:02:58 +00:00
|
|
|
#ifndef CONFIG_DM
|
2012-08-22 22:31:05 +00:00
|
|
|
extern gd_t gdata;
|
2015-03-03 15:02:58 +00:00
|
|
|
#endif
|
2012-08-22 22:31:05 +00:00
|
|
|
|
2012-08-14 15:50:58 +00:00
|
|
|
#endif
|