Hi,
Thanks for the patch, the register PAR_FECI2C was already set in
platform initialization code.

arch/m68knommu/platform/527x/config.c:150
static void __init m527x_fec_init(void)
{
        u16 par;
        u8 v;

        /* Set multi-function pins to ethernet mode for fec0 */
#if defined(CONFIG_M5271)
        v = readb(MCF_IPSBAR + 0x100047);
        writeb(v | 0xf0, MCF_IPSBAR + 0x100047);

I also asserted that register value in fec probe function.
Now I am trying to find out the difference in init code between u-boot
(2010-06) and the kernel driver (2.6.34-uc0).

On Thu, Feb 17, 2011 at 10:27 PM, Richard Retanubun
<richardretanu...@ruggedcom.com> wrote:
> On 02/16/11 11:28, Metalod wrote:
>>
>> Hi,
>>
>> On Wed, Feb 16, 2011 at 6:20 PM, Metalod<meta...@gmail.com>  wrote:
>>>
>>> I have a custom board that running on MCF5271.
>>> The board is just fine when booting from flash.
>
> <snip>
>>
>> Only way to make ethernet in linux works is touching it from u-boot
>> first, then boot the kernel.
>
> Hi Metalod,
>
> I submitted a patch for this, it is possible your kernel sources does not
> have it yet.
> See this patch:
> http://www.mail-archive.com/uclinux-dev@uclinux.org/msg06025.html
>
> - Richard
>
_______________________________________________
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

Reply via email to