xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/spl.h (revision c3d2c24f6cebd115cdc577e13520045a30ca5dc6)
155cdbb8dSTom Rini /*
255cdbb8dSTom Rini  * (C) Copyright 2012
355cdbb8dSTom Rini  * Texas Instruments, <www.ti.com>
455cdbb8dSTom Rini  *
555cdbb8dSTom Rini  * See file CREDITS for list of people who contributed to this
655cdbb8dSTom Rini  * project.
755cdbb8dSTom Rini  *
855cdbb8dSTom Rini  * This program is free software; you can redistribute it and/or
955cdbb8dSTom Rini  * modify it under the terms of the GNU General Public License as
1055cdbb8dSTom Rini  * published by the Free Software Foundation; either version 2 of
1155cdbb8dSTom Rini  * the License, or (at your option) any later version.
1255cdbb8dSTom Rini  *
1355cdbb8dSTom Rini  * This program is distributed in the hope that it will be useful,
1455cdbb8dSTom Rini  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1555cdbb8dSTom Rini  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1655cdbb8dSTom Rini  * GNU General Public License for more details.
1755cdbb8dSTom Rini  *
1855cdbb8dSTom Rini  * You should have received a copy of the GNU General Public License
1955cdbb8dSTom Rini  * along with this program; if not, write to the Free Software
2055cdbb8dSTom Rini  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2155cdbb8dSTom Rini  * MA 02111-1307 USA
2255cdbb8dSTom Rini  */
2355cdbb8dSTom Rini #ifndef	_ASM_ARCH_SPL_H_
2455cdbb8dSTom Rini #define	_ASM_SPL_H_
2555cdbb8dSTom Rini 
2655cdbb8dSTom Rini #define BOOT_DEVICE_NONE	0
2755cdbb8dSTom Rini #define BOOT_DEVICE_XIP		1
2855cdbb8dSTom Rini #define BOOT_DEVICE_NAND	2
2966c7f399SEnric Balletbo i Serra #define BOOT_DEVICE_ONENAND	3
3055cdbb8dSTom Rini #define BOOT_DEVICE_MMC2	5 /*emmc*/
3155cdbb8dSTom Rini #define BOOT_DEVICE_MMC1	6
3255cdbb8dSTom Rini #define BOOT_DEVICE_XIPWAIT	7
3355cdbb8dSTom Rini #define BOOT_DEVICE_MMC2_2      0xFF
34*c3d2c24fSTom Rini 
35*c3d2c24fSTom Rini #define MMC_BOOT_DEVICES_START	BOOT_DEVICE_MMC2
36*c3d2c24fSTom Rini #define MMC_BOOT_DEVICES_END	BOOT_DEVICE_MMC1
3755cdbb8dSTom Rini #endif
38