]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sunxi: conditionally include MMC2 initialization code
authorIcenowy Zheng <icenowy@sipeed.com>
Thu, 22 Jul 2021 06:30:05 +0000 (14:30 +0800)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 25 Oct 2021 13:54:57 +0000 (14:54 +0100)
commitc846fe43f0561311eb7261b34023a04646cdbd0d
tree3e735f37e47f895fe593a2f08152b68a1a97a12a
parent03510bf62149d8cbdc39564dcd4a3195f6d8d79e
mmc: sunxi: conditionally include MMC2 initialization code

Allwinner R329 has no MMC2.

Only include the code of MMC2 if the base address of it is defined.

Signed-off-by: Icenowy Zheng <icenowy@sipeed.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/mmc/sunxi_mmc.c