mmc: fsl_esdhc: Migrate ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE to Kconfig
The flag for enabling the ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE quirk can be handled easily enough in Kconfig. This lets us remove a function but not obviously correct usage of the IS_ENABLED() macro. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
@@ -133,7 +133,6 @@
|
||||
#define CFG_FM_PLAT_CLK_DIV 1
|
||||
#define CFG_SYS_FM1_CLK CFG_FM_PLAT_CLK_DIV
|
||||
#define CFG_SYS_FM_MURAM_SIZE 0x30000
|
||||
#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
|
||||
#define QE_MURAM_SIZE 0x6000UL
|
||||
#define MAX_QE_RISC 1
|
||||
#define QE_NUM_OF_SNUM 28
|
||||
@@ -146,7 +145,6 @@
|
||||
#define CFG_SYS_FM1_CLK 0
|
||||
#define CFG_QBMAN_CLK_DIV 1
|
||||
#define CFG_SYS_FM_MURAM_SIZE 0x30000
|
||||
#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
|
||||
#define QE_MURAM_SIZE 0x6000UL
|
||||
#define MAX_QE_RISC 1
|
||||
#define QE_NUM_OF_SNUM 28
|
||||
@@ -165,7 +163,6 @@
|
||||
#define CFG_SYS_PME_CLK CFG_PME_PLAT_CLK_DIV
|
||||
#define CFG_SYS_FM1_CLK 0
|
||||
#define CFG_SYS_FM_MURAM_SIZE 0x28000
|
||||
#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
|
||||
|
||||
#elif defined(CONFIG_ARCH_C29X)
|
||||
#define CFG_SYS_FSL_SEC_IDX_OFFSET 0x20000
|
||||
|
Reference in New Issue
Block a user