From: Peng Fan Date: Tue, 15 Mar 2016 09:57:50 +0000 (+0800) Subject: fsl: esdhc: consolidate fsl_esdhc_cfg structure X-Git-Tag: v2016.05-rc1~31^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5330c7d707f1117a95985ff6e770eb146703706a;p=u-boot 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 Cc: York Sun Cc: Yangbo Lu Cc: Eric Nelson Cc: Fabio Estevam Cc: Pantelis Antoniou Cc: Tom Rini Reviewed-by: Tom Rini Reviewed-by: York Sun --- diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index 073048fb4b..fa760a57fb 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;