]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sunxi: Cleanup "new timing mode" selection
authorAndre Przywara <andre.przywara@arm.com>
Wed, 5 May 2021 08:57:47 +0000 (09:57 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 10 Jul 2021 00:22:09 +0000 (01:22 +0100)
commitf85c0912b66c503074fa28914edef144d0052922
tree06100ecdeddfa246d2dba4c4d3e0d29e1ef5f86e
parent937ee31e32ee79393bbba29cdf2543e9020a2e88
mmc: sunxi: Cleanup "new timing mode" selection

Among the SoCs using the "new timing mode", only the A83T needs to
explicitly switch to that mode.

By just defining the symbol for that one odd A83T bit to 0 for any other
SoCs, we can always OR that in, and save the confusing nested #ifdefs.

Clean up the also confusing new_mode setting on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sunxi_mmc.c