Revert "imx: Introduce CONFIG_SPL_FORCE_MMC_BOOT to force MMC boot on falcon mode"
authorHarald Seiler <hws@denx.de>
Thu, 23 Apr 2020 11:07:50 +0000 (13:07 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 16:47:07 +0000 (18:47 +0200)
commit15aec318ef03037a6e988f6f015629f7fb2cb368
tree4bbf50b77597b51a03929fe888790d96d2c3b0df
parenta15d0aa680d2aacbe708d8d87ca2ac5b3b22a893
Revert "imx: Introduce CONFIG_SPL_FORCE_MMC_BOOT to force MMC boot on falcon mode"

The CONFIG_SPL_FORCE_MMC_BOOT config flag is not needed as its behavior
is the correct one in all cases;  using spl_boot_device() instead of the
boot_device parameter will lead to inconsistency issues, for example,
when a board_boot_order() is defined.  In fact, this is the reason the
parameter was introduced in the first place, in commit 2b1cdafa9fdd
("common: Pass the boot device into spl_boot_mode()").

This reverts commit 772b55723bcbe8ebe84f579d9cdc831d8e18579d.

Link: https://lists.denx.de/pipermail/u-boot/2020-April/405979.html
Signed-off-by: Harald Seiler <hws@denx.de>
arch/arm/mach-imx/spl.c
common/spl/Kconfig