summaryrefslogtreecommitdiff
path: root/include/fsl_esdhc_imx.h
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-11-23 23:03:45 +0300
committerJaehoon Chung <jh80.chung@samsung.com>2022-01-12 03:56:40 +0300
commit4f01db814aa472ab766eb2cf950400a1310a143f (patch)
tree6cec954cea3a8b0cbec8e7d206c27aef4d89abc9 /include/fsl_esdhc_imx.h
parent41c6a22fc2963bfc76fc2aa21f572ceb0c5a4e22 (diff)
downloadu-boot-4f01db814aa472ab766eb2cf950400a1310a143f.tar.xz
mmc: fsl_esdhc_imx: replace most #ifdefs by IS_ENABLED()
[ fsl_esdhc commit 52faec31827ec1a1837977e29c067424426634c5 ] Make the code cleaner and drop the old-style #ifdef constructs where it is possible. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'include/fsl_esdhc_imx.h')
-rw-r--r--include/fsl_esdhc_imx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/fsl_esdhc_imx.h b/include/fsl_esdhc_imx.h
index 4ae932858e..2153f29bef 100644
--- a/include/fsl_esdhc_imx.h
+++ b/include/fsl_esdhc_imx.h
@@ -24,12 +24,10 @@
#define SYSCTL_INITA 0x08000000
#define SYSCTL_TIMEOUT_MASK 0x000f0000
#define SYSCTL_CLOCK_MASK 0x0000fff0
-#if !defined(CONFIG_FSL_USDHC)
#define SYSCTL_CKEN 0x00000008
#define SYSCTL_PEREN 0x00000004
#define SYSCTL_HCKEN 0x00000002
#define SYSCTL_IPGEN 0x00000001
-#endif
#define SYSCTL_RSTA 0x01000000
#define SYSCTL_RSTC 0x02000000
#define SYSCTL_RSTD 0x04000000