blob: f60b086366ce39511cdaedde80833241e05924da [file] [log] [blame]
Tom Rini29d69dc2012-08-14 08:50:58 -07001/*
2 * (C) Copyright 2012
3 * Texas Instruments, <www.ti.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23#ifndef _ASM_ARCH_SPL_H_
24#define _ASM_SPL_H_
25
Joel A Fernandesb55759e2012-09-18 04:30:51 +000026#define BOOT_DEVICE_XIP 2
Tom Rini29d69dc2012-08-14 08:50:58 -070027#define BOOT_DEVICE_NAND 5
Matt Porter691fbe32013-03-15 10:07:06 +000028#ifdef CONFIG_AM33XX
Tom Rini29d69dc2012-08-14 08:50:58 -070029#define BOOT_DEVICE_MMC1 8
30#define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */
Matt Porter691fbe32013-03-15 10:07:06 +000031#elif defined(CONFIG_TI814X)
32#define BOOT_DEVICE_MMC1 9
33#define BOOT_DEVICE_MMC2 8 /* ROM only supports 2nd instance */
34#endif
Tom Rini0c1c9232012-10-16 13:06:07 +000035#define BOOT_DEVICE_SPI 11
Tom Rini29d69dc2012-08-14 08:50:58 -070036#define BOOT_DEVICE_UART 65
Ilya Yanok87b82cc2013-02-05 11:36:25 +000037#define BOOT_DEVICE_USBETH 68
Ilya Yanokf7a2c552012-09-18 00:22:50 +000038#define BOOT_DEVICE_CPGMAC 70
Tom Rini29d69dc2012-08-14 08:50:58 -070039#define BOOT_DEVICE_MMC2_2 0xFF
40#endif