summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-sunxi/mmc.h
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2021-01-11 21:11:35 +0100
committerAndre Przywara <andre.przywara@arm.com>2021-01-25 21:52:00 +0000
commitaaebb900c60c12110f6dd2ae5ec3dc83984f8a18 (patch)
treee54dcf32ee3ab068c2f1e2c047ab757f0031f35e /arch/arm/include/asm/arch-sunxi/mmc.h
parent44726096cfdfe4634a02a6beee7aa4c91aeb9503 (diff)
downloadu-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.tar.gz
u-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.tar.xz
u-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.zip
mmc: sunxi: Replace H6 ifdefs with H6 gen macro
It turns out that several SoCs share same mmc configuration as H6. In order to lower ifdef clutter replace H6 specific macro with common one. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/mmc.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/mmc.h b/arch/arm/include/asm/arch-sunxi/mmc.h
index f2deafddd2..340e25b04d 100644
--- a/arch/arm/include/asm/arch-sunxi/mmc.h
+++ b/arch/arm/include/asm/arch-sunxi/mmc.h
@@ -45,7 +45,7 @@ struct sunxi_mmc {
u32 chda; /* 0x90 */
u32 cbda; /* 0x94 */
u32 res2[26];
-#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_MACH_SUN50I_H6)
+#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6)
u32 res3[17];
u32 samp_dl;
u32 res4[46];