u-boot/board/kontron/sl-mx6ul/sl-mx6ul-common.h
Frieder Schrempf 93935acc6f imx: imx6ul: kontron-sl-mx6ul: Select correct boot and env device
Instead of checking both, SPI NOR and MMC for loading U-Boot proper
and the environment, implement a way to detect the actual boot
device even if the BootROM doesn't report it and we can't rely
solely on the fuse settings, as by default we use MMC as primary
boot device and boot from SPI NOR via the secondary fallback device
(EEPROM Recovery Mode).

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2022-10-20 17:35:51 +02:00

11 lines
220 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2022 Kontron Electronics GmbH
*/
#ifndef __SL_MX6UL_COMMON_H
#define __SL_MX6UL_COMMON_H
bool sl_mx6ul_is_spi_nor_boot(void);
#endif // __SL_MX6UL_COMMON_H