u-boot/board/kontron/sl28/sl28.h
Michael Walle 67b5dab263 board: sl28: implement additional bootsources
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>
2022-09-06 09:10:41 +08:00

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