]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sunxi: remove unused CONFIG_MMC_SUNXI_SLOT
authorAndre Przywara <andre.przywara@arm.com>
Mon, 28 Nov 2022 00:03:53 +0000 (00:03 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 14 Dec 2022 22:31:06 +0000 (22:31 +0000)
commited82586c4054c62c35e119f4f0a14619f0ad6c2e
tree772f5812c7d2b42e63b2f6c3db3a42c81e90b721
parent705209a0957ffd9e0ad001d01cb2b468fb1b3347
sunxi: remove unused CONFIG_MMC_SUNXI_SLOT

There is a CONFIG_MMC_SUNXI_SLOT definition in our sunxi_common.h config
header, which was used to note the first MMC controller to initialise.
The definition in that header was always set to 0, with no easy way of
overriding this, and certainly none of the existing boards made any use
of that (non-)feature.
Remove that definition and replace it with a constant 0 in the only
user, in board.c. It turns out that this is safe, as this is only used
in the SPL, and the BROM also unconditionally initialises MMC0.
This also removes the last legacy config symbol with SUN*I in it from
the whitelist.

Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c
include/configs/sunxi-common.h
scripts/config_whitelist.txt