93935acc6f
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>
12 lines
220 B
C
12 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
|