diff options
| author | Peng Fan <[email protected]> | 2016-03-15 17:57:50 +0800 |
|---|---|---|
| committer | York Sun <[email protected]> | 2016-04-06 08:34:09 -0700 |
| commit | 5330c7d707f1117a95985ff6e770eb146703706a (patch) | |
| tree | 51acbe0440dec84e6a56ec68cd559ac138062c4e /include | |
| parent | 96f0407b00f9b28e101e6fb3c7a8bf6349d226ee (diff) | |
fsl: esdhc: consolidate fsl_esdhc_cfg structure
We can use phys_addr_to for esdhc_base to discard
the #ifdef.
Signed-off-by: Peng Fan <[email protected]>
Cc: York Sun <[email protected]>
Cc: Yangbo Lu <[email protected]>
Cc: Eric Nelson <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: York Sun <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fsl_esdhc.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index 073048fb4be..fa760a57fb8 100644 --- a/include/fsl_esdhc.h +++ b/include/fsl_esdhc.h @@ -168,11 +168,7 @@ #define ESDHC_VENDORSPEC_VSELECT 0x00000002 /* Use 1.8V */ struct fsl_esdhc_cfg { -#ifdef CONFIG_FSL_LAYERSCAPE - u64 esdhc_base; -#else - u32 esdhc_base; -#endif + phys_addr_t esdhc_base; u32 sdhc_clk; u8 max_bus_width; struct mmc_config cfg; |
