[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    [uClinux-dev] [patch] MII GPIO configuration for M5234BCC /
From:       Timothée_Manaud <timothee () manaud ! net>
Date:       2009-07-15 13:35:26
Message-ID: ec1c5cdb5502e1fdc86fbfd815fb7874 () localhost
[Download RAW message or body]


I'm new to this list, so Hello everyone!
I'm currently developping on a Coldfire M5234BCC, and after removing dBUG,
for U-Boot, the MDIO init wasnt done anymore.
So I either had to do 
mw.b 40100047 F0 1
to change the FEC/I2C Pin Assignment Register (PAR_FECI2C): IPSBAR +
0x10_0047 (8bits)
or add the following patch for the FEC driver.
If anyone can tell me what best: I've to submit patches for this plateform
(soon), but I'm quite new in the embedded linux, are there any guideline?

--- uClinux-dist/linux-2.6.x/drivers/net/fec.c.new	2009-07-15
15:27:24.000000000 +0200
+++ uClinux-dist/linux-2.6.x/drivers/net/fec.c	2009-07-15
15:27:09.000000000 +0200
@@ -1413,7 +1413,7 @@
 	}
 #endif
 
-#if defined(CONFIG_M523x) || defined(CONFIG_M527x)
+#if defined(CONFIG_M527x)
 	/* Set up gpio outputs for MII lines */
 	{
 		volatile u8 *gpio_par_fec;


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic