mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![B, Ravi](/assets/img/avatar_default.png)
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
28 lines
691 B
C
28 lines
691 B
C
/*
|
|
* (C) Copyright 2012
|
|
* Texas Instruments, <www.ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _ASM_ARCH_SPL_H_
|
|
#define _ASM_ARCH_SPL_H_
|
|
|
|
#define BOOT_DEVICE_NONE 0x00
|
|
#define BOOT_DEVICE_XIP 0x01
|
|
#define BOOT_DEVICE_XIPWAIT 0x02
|
|
#define BOOT_DEVICE_NAND 0x03
|
|
#define BOOT_DEVICE_ONENAND 0x04
|
|
#define BOOT_DEVICE_MMC1 0x05
|
|
#define BOOT_DEVICE_MMC2 0x06
|
|
#define BOOT_DEVICE_MMC2_2 0x07
|
|
#define BOOT_DEVICE_SATA 0x09
|
|
#define BOOT_DEVICE_SPI 0x0A
|
|
#define BOOT_DEVICE_QSPI_1 0x0A
|
|
#define BOOT_DEVICE_QSPI_4 0x0B
|
|
#define BOOT_DEVICE_UART 0x43
|
|
#define BOOT_DEVICE_DFU 0x45
|
|
|
|
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
|
|
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
|
|
#endif
|