arm: mvebu: spl: Remove checks for BOOT_DEVICE_MMC2 and BOOT_DEVICE_MMC2_2
authorPali Rohár <pali@kernel.org>
Sun, 8 Jan 2023 12:27:07 +0000 (13:27 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Mar 2023 05:39:17 +0000 (06:39 +0100)
commit8b49e63e09f85efc2d6cafbfafa551dc1beaefe7
treecf4bdf14ba6f0418591734f76b7f09f7483bd57f
parenta2cd076b7f5ad3017fc8a2b22687cd58d02e85db
arm: mvebu: spl: Remove checks for BOOT_DEVICE_MMC2 and BOOT_DEVICE_MMC2_2

BOOT_DEVICE_MMC2 and BOOT_DEVICE_MMC2_2 are representing mmc dev 1 but all
Armada SoCs have only one mmc controller. So remove references to
non-existent second mmc controller.

Fixes: f830703f4284 ("arm: mvebu: Check that kwbimage blockid matches boot mode")
Signed-off-by: Pali Rohár <pali@kernel.org>
arch/arm/mach-mvebu/spl.c