public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 01/18] mxs: mmc: Drop unused members from struct mxsmmc_priv
@ 2013-01-11 13:19 Marek Vasut
  2013-01-11 13:19 ` [U-Boot] [PATCH 02/18] mxs: ssp: Pull out the SSP bus to regs conversion Marek Vasut
                   ` (17 more replies)
  0 siblings, 18 replies; 31+ messages in thread
From: Marek Vasut @ 2013-01-11 13:19 UTC (permalink / raw)
  To: u-boot

The clock data are not used by the driver, drop them.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andy Fleming <afleming@freescale.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 drivers/mmc/mxsmmc.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c
index 024df59..aa3d1b0 100644
--- a/drivers/mmc/mxsmmc.c
+++ b/drivers/mmc/mxsmmc.c
@@ -47,8 +47,6 @@
 struct mxsmmc_priv {
 	int			id;
 	struct mxs_ssp_regs	*regs;
-	uint32_t		clkseq_bypass;
-	uint32_t		*clkctrl_ssp;
 	uint32_t		buswidth;
 	int			(*mmc_is_wp)(int);
 	struct mxs_dma_desc	*desc;
@@ -355,8 +353,6 @@ static int mxsmmc_init(struct mmc *mmc)
 
 int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int))
 {
-	struct mxs_clkctrl_regs *clkctrl_regs =
-		(struct mxs_clkctrl_regs *)MXS_CLKCTRL_BASE;
 	struct mmc *mmc = NULL;
 	struct mxsmmc_priv *priv = NULL;
 	int ret;
@@ -387,23 +383,15 @@ int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int))
 	switch (id) {
 	case 0:
 		priv->regs = (struct mxs_ssp_regs *)MXS_SSP0_BASE;
-		priv->clkseq_bypass = CLKCTRL_CLKSEQ_BYPASS_SSP0;
-		priv->clkctrl_ssp = &clkctrl_regs->hw_clkctrl_ssp0;
 		break;
 	case 1:
 		priv->regs = (struct mxs_ssp_regs *)MXS_SSP1_BASE;
-		priv->clkseq_bypass = CLKCTRL_CLKSEQ_BYPASS_SSP1;
-		priv->clkctrl_ssp = &clkctrl_regs->hw_clkctrl_ssp1;
 		break;
 	case 2:
 		priv->regs = (struct mxs_ssp_regs *)MXS_SSP2_BASE;
-		priv->clkseq_bypass = CLKCTRL_CLKSEQ_BYPASS_SSP2;
-		priv->clkctrl_ssp = &clkctrl_regs->hw_clkctrl_ssp2;
 		break;
 	case 3:
 		priv->regs = (struct mxs_ssp_regs *)MXS_SSP3_BASE;
-		priv->clkseq_bypass = CLKCTRL_CLKSEQ_BYPASS_SSP3;
-		priv->clkctrl_ssp = &clkctrl_regs->hw_clkctrl_ssp3;
 		break;
 	}
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2013-01-21 11:11 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 13:19 [U-Boot] [PATCH 01/18] mxs: mmc: Drop unused members from struct mxsmmc_priv Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 02/18] mxs: ssp: Pull out the SSP bus to regs conversion Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 03/18] mxs: clock: Use 'mxs' prefix for methods Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 04/18] mx23: Add register base addresses Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 05/18] mx23: Add iomux-mx23.h Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 06/18] mx23: Add POWER and CLKCTRL register definitions Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 07/18] mx23: ssp: Fix ssp-regs.h for MX23 Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 08/18] mx23: Add support on print_cpuinfo() Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 09/18] mx23: Add boot mode description Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 10/18] mx23: SPL: Add boot mode support Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 11/18] mx23: SPL: Initialize DDR at 133MHz Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 12/18] mx23: config: Enable building of u-boot.sb binary Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 13/18] mx23: config: Enable mxsboot tool for i.MX23 based boards Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 14/18] mmc: Limit the number of used SSP ports on MX23 Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 15/18] mxs: Add MX23 quirks into the clock code Marek Vasut
2013-01-20  2:02   ` [U-Boot] [PATCH 15/18 V2] " Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 16/18] mxs: Add MX23 olinuxino board support Marek Vasut
2013-01-11 20:58   ` Fabio Estevam
2013-01-11 23:27     ` Marek Vasut
2013-01-12 13:21       ` Otavio Salvador
2013-01-12 16:14         ` Marek Vasut
2013-01-11 23:27   ` [U-Boot] [PATCH 16/18 V2] " Marek Vasut
2013-01-12 13:19     ` Otavio Salvador
2013-01-12 16:16       ` Marek Vasut
2013-01-12 16:39         ` Otavio Salvador
2013-01-12 16:52           ` Marek Vasut
2013-01-12 17:06             ` Otavio Salvador
2013-01-12 17:11     ` [U-Boot] [PATCH 16/18 V3] " Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 17/18] mxs: Add function to ungate the power block on MX23 Marek Vasut
2013-01-11 13:19 ` [U-Boot] [PATCH 18/18] mxs: Fix the memory init for MX23 Marek Vasut
2013-01-21 11:11 ` [U-Boot] [PATCH 01/18] mxs: mmc: Drop unused members from struct mxsmmc_priv Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox