mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
a13cbf5f20
UART booting is supported on this SoC, but via UART3 rather than UART1. Because of this we must change the board to use UART3 for all console access (only one UART is exposed on this board and a slight HW mod is required to switch UARTs). Signed-off-by: Minal Shah <minal.shah@ti.com> [trini: Make apply to mainline, reword commit] Signed-off-by: Tom Rini <trini@ti.com>
23 lines
578 B
C
23 lines
578 B
C
/*
|
|
* (C) Copyright 2012
|
|
* Texas Instruments, <www.ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _ASM_ARCH_SPL_H_
|
|
#define _ASM_SPL_H_
|
|
|
|
#define BOOT_DEVICE_NONE 0
|
|
#define BOOT_DEVICE_XIP 1
|
|
#define BOOT_DEVICE_XIPWAIT 2
|
|
#define BOOT_DEVICE_NAND 3
|
|
#define BOOT_DEVICE_ONENAND 4
|
|
#define BOOT_DEVICE_MMC1 5
|
|
#define BOOT_DEVICE_MMC2 6
|
|
#define BOOT_DEVICE_MMC2_2 7
|
|
#define BOOT_DEVICE_SPI 10
|
|
#define BOOT_DEVICE_UART 0x43
|
|
|
|
#define MMC_BOOT_DEVICES_START BOOT_DEVICE_MMC1
|
|
#define MMC_BOOT_DEVICES_END BOOT_DEVICE_MMC2_2
|
|
#endif
|