All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm, keymile: remove unneeded code
@ 2011-01-25  8:57 Holger Brunck
  2011-04-11 20:40 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Brunck @ 2011-01-25  8:57 UTC (permalink / raw)
  To: u-boot

On first HW versions the BOCO FPGA was behind a MUX device. These
HW versions are not supported anymore. And therefore this code can
be removed, it is already unused.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 board/keymile/km_arm/km_arm.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 2e20644..dcf0f42 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -41,9 +41,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static int	io_dev;
-extern I2C_MUX_DEVICE *i2c_mux_ident_muxstring (uchar *buf);
-
 /* Multi-Purpose Pins Functionality configuration */
 u32 kwmpp_config[] = {
 	MPP0_NF_IO2,
@@ -122,13 +119,9 @@ int ethernet_present(void)
 
 int misc_init_r(void)
 {
-	I2C_MUX_DEVICE	*i2cdev;
 	char *str;
 	int mach_type;
 
-	/* add I2C Bus for I/O Expander */
-	i2cdev = i2c_mux_ident_muxstring((uchar *)"pca9554a:70:a");
-	io_dev = i2cdev->busid;
 	puts("Piggy:");
 	if (ethernet_present() == 0)
 		puts (" not");
-- 
1.7.0.5

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

* [U-Boot] [PATCH] arm, keymile: remove unneeded code
  2011-01-25  8:57 [U-Boot] [PATCH] arm, keymile: remove unneeded code Holger Brunck
@ 2011-04-11 20:40 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2011-04-11 20:40 UTC (permalink / raw)
  To: u-boot

Dear Holger Brunck,

In message <1295945839-1817-1-git-send-email-holger.brunck@keymile.com> you wrote:
> On first HW versions the BOCO FPGA was behind a MUX device. These
> HW versions are not supported anymore. And therefore this code can
> be removed, it is already unused.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> ---
>  board/keymile/km_arm/km_arm.c |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)

Applied, thanks.

Albert & Heiko, this being strictly board specific code, and equally
I2C and ARM related, I decided to go ahead and apply directly. Hope
this is OK with you.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No more blah, blah, blah!
	-- Kirk, "Miri", stardate 2713.6

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

end of thread, other threads:[~2011-04-11 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25  8:57 [U-Boot] [PATCH] arm, keymile: remove unneeded code Holger Brunck
2011-04-11 20:40 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.