mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
27019e4a94
Add NAND SPL boot support with hardware PMECC. Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
24 lines
410 B
C
24 lines
410 B
C
/*
|
|
* Copyright (C) 2013 Atmel Corporation
|
|
* Bo Shen <voice.shen@atmel.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_SPL_H_
|
|
#define _ASM_ARCH_SPL_H_
|
|
|
|
enum {
|
|
BOOT_DEVICE_NONE,
|
|
#ifdef CONFIG_SYS_USE_MMC
|
|
BOOT_DEVICE_MMC1,
|
|
BOOT_DEVICE_MMC2,
|
|
BOOT_DEVICE_MMC2_2,
|
|
#elif CONFIG_SYS_USE_NANDFLASH
|
|
BOOT_DEVICE_NAND,
|
|
#elif CONFIG_SYS_USE_SERIALFLASH
|
|
BOOT_DEVICE_SPI,
|
|
#endif
|
|
};
|
|
|
|
#endif
|