diff options
author | Jernej Skrabec <jernej.skrabec@siol.net> | 2021-01-11 21:11:35 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-01-25 21:52:00 +0000 |
commit | aaebb900c60c12110f6dd2ae5ec3dc83984f8a18 (patch) | |
tree | e54dcf32ee3ab068c2f1e2c047ab757f0031f35e /arch | |
parent | 44726096cfdfe4634a02a6beee7aa4c91aeb9503 (diff) | |
download | u-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.zip u-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.tar.gz u-boot-aaebb900c60c12110f6dd2ae5ec3dc83984f8a18.tar.bz2 |
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')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/mmc.h | 2 |
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 f2deafd..340e25b 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]; |