arm: atmel: sama5d3: add spi spl boot support
[karo-tx-uboot.git] / arch / arm / include / asm / arch-at91 / spl.h
1 /*
2  * Copyright (C) 2013 Atmel Corporation
3  *                    Bo Shen <voice.shen@atmel.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef _ASM_ARCH_SPL_H_
9 #define _ASM_ARCH_SPL_H_
10
11 enum {
12         BOOT_DEVICE_NONE,
13 #ifdef CONFIG_SYS_USE_MMC
14         BOOT_DEVICE_MMC1,
15         BOOT_DEVICE_MMC2,
16         BOOT_DEVICE_MMC2_2,
17 #elif CONFIG_SYS_USE_SERIALFLASH
18         BOOT_DEVICE_SPI,
19 #endif
20 };
21
22 #endif