mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX: Remove unised procedure imx25_setup_weimcs
@ 2016-06-24 16:44 Alexander Shiyan
  2016-06-24 19:47 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Shiyan @ 2016-06-24 16:44 UTC (permalink / raw)
  To: barebox

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-imx/imx25.c             | 8 --------
 arch/arm/mach-imx/include/mach/weim.h | 3 ---
 2 files changed, 11 deletions(-)

diff --git a/arch/arm/mach-imx/imx25.c b/arch/arm/mach-imx/imx25.c
index 3cfeebb..2534d75 100644
--- a/arch/arm/mach-imx/imx25.c
+++ b/arch/arm/mach-imx/imx25.c
@@ -23,14 +23,6 @@
 #define MX25_BOOTROM_HAB_MAGIC		0x3c95cac6
 #define MX25_DRYICE_GPR			0x3c
 
-void imx25_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
-		unsigned additional)
-{
-	writel(upper, MX25_WEIM_BASE_ADDR + (cs * 0x10) + 0x0);
-	writel(lower, MX25_WEIM_BASE_ADDR + (cs * 0x10) + 0x4);
-	writel(additional, MX25_WEIM_BASE_ADDR + (cs * 0x10) + 0x8);
-}
-
 /* IIM fuse definitions */
 #define IIM_BANK0_BASE	(MX25_IIM_BASE_ADDR + 0x800)
 #define IIM_BANK1_BASE	(MX25_IIM_BASE_ADDR + 0xc00)
diff --git a/arch/arm/mach-imx/include/mach/weim.h b/arch/arm/mach-imx/include/mach/weim.h
index 3fbbb6b..22d9c76 100644
--- a/arch/arm/mach-imx/include/mach/weim.h
+++ b/arch/arm/mach-imx/include/mach/weim.h
@@ -12,9 +12,6 @@ void imx31_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
 void imx35_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
 		unsigned additional);
 
-void imx25_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
-		unsigned additional);
-
 void imx1_setup_eimcs(size_t cs, unsigned upper, unsigned lower);
 
 void imx21_setup_eimcs(size_t cs, unsigned upper, unsigned lower);
-- 
2.4.9


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: Remove unised procedure imx25_setup_weimcs
  2016-06-24 16:44 [PATCH] ARM: i.MX: Remove unised procedure imx25_setup_weimcs Alexander Shiyan
@ 2016-06-24 19:47 ` Uwe Kleine-König
  2016-06-27  6:53   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2016-06-24 19:47 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

Hello Alexander,

$Subject ~= s/unised/unused/

other than that:

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: Remove unised procedure imx25_setup_weimcs
  2016-06-24 19:47 ` Uwe Kleine-König
@ 2016-06-27  6:53   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2016-06-27  6:53 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Fri, Jun 24, 2016 at 09:47:52PM +0200, Uwe Kleine-König wrote:
> Hello Alexander,
> 
> $Subject ~= s/unised/unused/

Fixed while applying.

Sascha

> 
> other than that:
> 
> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> 
> Best regards
> Uwe
> 
> -- 
> Pengutronix e.K.                           | Uwe Kleine-König            |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-06-27  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 16:44 [PATCH] ARM: i.MX: Remove unised procedure imx25_setup_weimcs Alexander Shiyan
2016-06-24 19:47 ` Uwe Kleine-König
2016-06-27  6:53   ` Sascha Hauer

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