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_
|
|
|
|
|
2014-10-16 10:25:40 +00:00
|
|
|
#if defined(CONFIG_OMAP) \
|
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,
|
|
|
|
BOOT_DEVICE_SATA,
|
|
|
|
BOOT_DEVICE_I2C,
|
|
|
|
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
|
|
|
|
|
|
|
extern gd_t gdata;
|
|
|
|
|
2012-08-14 15:50:58 +00:00
|
|
|
#endif
|