[Top] [All Lists]

Re: [PATCH] MIPS: Alchemy: move MMC driver registration to board

To: Sergei Shtylyov <>
Subject: Re: [PATCH] MIPS: Alchemy: move MMC driver registration to board code.
From: Manuel Lauss <>
Date: Tue, 9 Mar 2010 12:45:39 +0100
Cc: Linux-MIPS <>, Manuel Lauss <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0/N+Q0B8tVce6yQ+0StSKlNCRx/z3hPiNFtXgXL4BWI=; b=TtvbrAVsiZVH0jqm7pPojwDUn9jBu8Ml9IPH5d/ez8klTXPFiU+h6B0so5jPimx3pT 2Cd34CULaVredJWeaPB4PS+qfOGC2mavjN7Wv6+zicKhqcAcCpJiISjoYdxOOHykh+2R 5/My8lfORRzt7bGYl7XLyBLPQW0KDVzCXxM7Y=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=q5Dlj4uGN6i0mDML2vJlUCkwcqsewVgaslPJBBzz/zoAxMdC+HMBtVErzuRNDPsU3W z7/UjkOrUHmysL4CyN55IPQ3yXpJERqaoPdygrWMVewaQIDPVunq/JaBXGKjEW9nBazu C1LBC5TUaNHdCLl8hPpJW0EtG2Ux+bvKIcGrg=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
On Tue, Mar 9, 2010 at 12:33 PM, Sergei Shtylyov <> wrote:
> Hello.
> Manuel Lauss wrote:
>> Where it really belongs to.
>  I disagree (again). SoC platform devices dont belong with the board code.

Figured as much.  However with additional boards the #ifdef mess in
is only going to get worse. MUCH worse. Just look at the au1000-eth
platform data situation!
I have these platform devices on Au1200/Au1300 even thought they don't have
a built-in MAC.

The board which uses the device should register it.  The UARTs are
kind of a special
case since they need to be fixed up with the correct busclock, but
that too could be
exported to an initialization wrapper.

But, consider the patch withdrawn.


<Prev in Thread] Current Thread [Next in Thread>