public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/7] arm: add support for CONFIG_GENERIC_MMC
Date: Wed, 3 Jun 2009 01:09:56 +0200	[thread overview]
Message-ID: <20090602230956.GL6399@game.jcrosoft.org> (raw)
In-Reply-To: <2acbd3e40905280856y68f7c9e1r9a9280c360f563b9@mail.gmail.com>

On 10:56 Thu 28 May     , Andy Fleming wrote:
>    On Fri, May 22, 2009 at 7:27 PM, Jean-Christophe PLAGNIOL-VILLARD
>    <plagnioj@jcrosoft.com> wrote:
> 
>      On 03:56 Wed 20 May     , Ilya Yanok wrote:
>      > Signed-off-by: Ilya Yanok <yanok@emcraft.com>
>      > ---
>      >  lib_arm/board.c |    7 +++++++
>      >  1 files changed, 7 insertions(+), 0 deletions(-)
>      >
>      > diff --git a/lib_arm/board.c b/lib_arm/board.c
>      > index 5d05d9b..268532f 100644
>      > --- a/lib_arm/board.c
>      > +++ b/lib_arm/board.c
>      > @@ -48,6 +48,7 @@
>      >  #include <serial.h>
>      >  #include <nand.h>
>      >  #include <onenand_uboot.h>
>      > +#include <mmc.h>
>      >
>      >  #ifdef CONFIG_DRIVER_SMC91111
>      >  #include "../drivers/net/smc91111.h"
>      > @@ -439,6 +440,12 @@ extern void davinci_eth_set_mac_addr (const
>      u_int8_t *addr);
>      >  #ifdef BOARD_LATE_INIT
>      >       board_late_init ();
>      >  #endif
>      > +
>      > +#ifdef CONFIG_GENERIC_MMC
>      > +     puts ("MMC:   ");
>      > +     mmc_initialize (gd->bd);
>      > +#endif
>      do you use a embedded mmc?
>      otherwise I'll prefer to not init the mmc at the board init but on need
> 
>    This is the same way ethernet is initialized.  mmc_initialize should not
>    perform any SD/MMC transactions, but should set up the driver, and
>    register with the MMC subsystem.  Without doing this, there's no way to
>    address the MMC device from the command line...
ok

Best Regards,
J.

  reply	other threads:[~2009-06-02 23:09 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 23:55 [U-Boot] [PATCH 00/10][v2] Support for LogicPD i.MX27-LITEKIT development board Ilya Yanok
2009-05-19 23:55 ` [U-Boot] [PATCH 1/7] mx27: basic cpu support Ilya Yanok
2009-05-23  0:22   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-26 19:25     ` Wolfgang Denk
2009-05-28 22:57   ` Wolfgang Denk
2009-05-28 23:04   ` Wolfgang Denk
2009-05-19 23:55 ` [U-Boot] [PATCH 2/7] serial_mx31: allow it to work with mx27 too and rename to serial_mxc Ilya Yanok
2009-05-23  0:25   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-19 23:55 ` [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC ethernet controller on i.MX27 Ilya Yanok
2009-05-26  5:38   ` Ben Warren
2009-06-07 23:08     ` Ilya Yanok
2009-11-17  2:46     ` alfred steele
2009-11-17  2:59       ` Ben Warren
2009-11-19  1:54         ` alfred steele
2009-11-19  3:30           ` Ben Warren
2009-11-17  6:34       ` Wolfgang Denk
2009-06-15 14:01   ` Johan
2009-06-15 19:59     ` Eric Lammerts
2009-06-16  7:12       ` Johan
2009-06-17 22:19         ` Ilya Yanok
2009-06-19 23:59         ` Wolfgang Denk
2009-06-23 17:37       ` [U-Boot] [PATCH 3/7] fec_imx27: driver for FEC Ethernet " Bill Cook
2009-05-19 23:55 ` [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3 Ilya Yanok
2009-05-28 23:06   ` Wolfgang Denk
2009-05-29  6:22     ` Magnus Lilja
2009-05-29  8:40       ` Wolfgang Denk
2009-05-19 23:55 ` [U-Boot] [PATCH 5/7] mxc-mmc: sdhc host driver for MX2 and MX3 proccessor Ilya Yanok
2009-05-19 23:56 ` [U-Boot] [PATCH 6/7] arm: add support for CONFIG_GENERIC_MMC Ilya Yanok
2009-05-23  0:27   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-28 15:56     ` Andy Fleming
2009-06-02 23:09       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-05-19 23:56 ` [U-Boot] [PATCH 7/7] imx27lite: add support for imx27lite board from LogicPD Ilya Yanok
2009-05-28 22:27   ` Wolfgang Denk
2009-05-19 23:58 ` [U-Boot] [PATCH 0/7][v2] Support for LogicPD i.MX27-LITEKIT development board Ilya Yanok
  -- strict thread matches above, loose matches on Subject: below --
2009-06-08  0:12 [U-Boot] [PATCH 0/7][v3] " Ilya Yanok
2009-06-08  0:12 ` [U-Boot] [PATCH 6/7] arm: add support for CONFIG_GENERIC_MMC Ilya Yanok
2009-06-20 13:20   ` Jean-Christophe PLAGNIOL-VILLARD

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=20090602230956.GL6399@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --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