diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-11-23 15:03:45 -0500 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2022-01-12 09:56:40 +0900 |
commit | 4f01db814aa472ab766eb2cf950400a1310a143f (patch) | |
tree | 6cec954cea3a8b0cbec8e7d206c27aef4d89abc9 /include | |
parent | 41c6a22fc2963bfc76fc2aa21f572ceb0c5a4e22 (diff) | |
download | u-boot-4f01db814aa472ab766eb2cf950400a1310a143f.zip u-boot-4f01db814aa472ab766eb2cf950400a1310a143f.tar.gz u-boot-4f01db814aa472ab766eb2cf950400a1310a143f.tar.bz2 |
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')
-rw-r--r-- | include/fsl_esdhc_imx.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/fsl_esdhc_imx.h b/include/fsl_esdhc_imx.h index 4ae9328..2153f29 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 |