mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-30 06:53:09 +00:00
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>
10 lines
180 B
Makefile
10 lines
180 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
# (C) Copyright 2018 Kontron Electronics GmbH
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y := spl.o
|
|
else
|
|
obj-y := sl-mx6ul.o
|
|
endif
|
|
|
|
obj-y += sl-mx6ul-common.o
|