public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] mmc: pxa: Flip over the remaining boards to pxa_mmc_generic
Date: Mon, 15 Oct 2012 22:54:51 +0200	[thread overview]
Message-ID: <201210152254.52180.marex@denx.de> (raw)
In-Reply-To: <CAKWjMd5+m=LXRDCSY0ybpYX0VOoXKg8a4UFsr=xvnAMrOrWQoQ@mail.gmail.com>

Dear Andy Fleming,

> On Sun, Sep 30, 2012 at 3:09 PM, Marek Vasut <marex@denx.de> wrote:
> > Some of the boards still used the old PXA_MMC driver instead of the
> > new generic one. Use the new one instead so the old can be removed
> > and the generic MMC framework can be properly used.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Andy Fleming <afleming@freescale.com>
> > ---
> > 
> >  board/lubbock/lubbock.c      |    9 +++++++++
> >  board/palmtc/palmtc.c        |    9 +++++++++
> >  board/pxa255_idp/pxa_idp.c   |    9 +++++++++
> >  board/trizepsiv/conxs.c      |    9 +++++++++
> >  include/configs/lubbock.h    |    3 ++-
> >  include/configs/palmtc.h     |    3 ++-
> >  include/configs/pxa255_idp.h |    3 ++-
> >  include/configs/trizepsiv.h  |    3 ++-
> >  8 files changed, 44 insertions(+), 4 deletions(-)
> > 
> > diff --git a/board/lubbock/lubbock.c b/board/lubbock/lubbock.c
> > index 3527b38..ef2cc24 100644
> > --- a/board/lubbock/lubbock.c
> > +++ b/board/lubbock/lubbock.c
> > @@ -29,6 +29,7 @@
> > 
> >  #include <netdev.h>
> >  #include <asm/arch/pxa.h>
> >  #include <asm/arch/pxa-regs.h>
> > 
> > +#include <asm/arch/regs-mmc.h>
> > 
> >  #include <asm/io.h>
> >  
> >  DECLARE_GLOBAL_DATA_PTR;
> > 
> > @@ -56,6 +57,14 @@ int board_init (void)
> > 
> >         return 0;
> >  
> >  }
> > 
> > +#ifdef CONFIG_CMD_MMC
> 
> Do we want to use CONFIG_CMD_MMC for this?

No we don't ... but that's what other boards do use, so ...

> That technically just means that the mmc *command* exists, but there
> are other reasons to enable the MMC driver (such as storing the
> environment or other behind-the-scenes mmc uses).

Agreed.

> It looks like this was done a handful of other places. I'm thinking we
> should use CONFIG_MMC, instead. If you update your patch, I'll submit
> a patch which fixes the others.

Can you just apply this and then fix them all please?

> Andy

Best regards,
Marek Vasut

      reply	other threads:[~2012-10-15 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-30 20:09 [U-Boot] [PATCH 1/2] mmc: pxa: Flip over the remaining boards to pxa_mmc_generic Marek Vasut
2012-09-30 20:09 ` [U-Boot] [PATCH 2/2] mmc: pxa: Remove the old non-generic PXA MMC driver Marek Vasut
2012-10-15 20:37 ` [U-Boot] [PATCH 1/2] mmc: pxa: Flip over the remaining boards to pxa_mmc_generic Andy Fleming
2012-10-15 20:54   ` Marek Vasut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201210152254.52180.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox