summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2021-11-23 15:03:45 -0500
committerJaehoon Chung <[email protected]>2022-01-12 09:56:40 +0900
commit4f01db814aa472ab766eb2cf950400a1310a143f (patch)
tree6cec954cea3a8b0cbec8e7d206c27aef4d89abc9 /include
parent41c6a22fc2963bfc76fc2aa21f572ceb0c5a4e22 (diff)
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 <[email protected]> Signed-off-by: Sean Anderson <[email protected]>
Diffstat (limited to 'include')
-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 4ae932858e3..2153f29bef2 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