mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 09:13:06 +00:00
67b5dab263
The board is able to boot from the following source: - user-updateble SPI flash - write-protected part of the same SPI flash - eMMC - SD card Implement the needed function hooks to support all of these boot sources. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Peng Fan <peng.fan@nxp.com>
16 lines
243 B
C
16 lines
243 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef __SL28_H
|
|
#define __SL28_H
|
|
|
|
enum boot_source {
|
|
BOOT_SOURCE_UNKNOWN,
|
|
BOOT_SOURCE_SDHC,
|
|
BOOT_SOURCE_MMC,
|
|
BOOT_SOURCE_I2C,
|
|
BOOT_SOURCE_SPI,
|
|
};
|
|
|
|
enum boot_source sl28_boot_source(void);
|
|
|
|
#endif
|