Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-24 Thread Konrad Mattheis
Dear Wofgang Denk, > Well, there are IMO two fundamental questions: > > 1) Where do we store the environment? > >Even if you load the U-Boot binary from - say - MMC/SDCard, there >is most probably also another storage medium available on your >board which may be easier to use (i. e.

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Scott Wood
On Tue, Sep 22, 2009 at 08:57:33PM +0200, Wolfgang Denk wrote: > I'm biased. I understand that you do this because you need it for the > next patch, which reads the environment from MMC card. But then MMC is > just one out of many storage devices, and with the same right we would > have to move the

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Wolfgang Denk
Dear Konrad Mattheis, In message you wrote: > > >I don't like that, and therefore tend to NAK the whole approach. > > I understand why you would like to NAK the approach, but this is not > only interesting for this type of ARM. And more and more ARM devices > allow direct boot from SD-Card,...

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-23 Thread Konrad Mattheis
Dear Wolfgang Denk, > I'm biased. I understand that you do this because you need it for the > next patch, which reads the environment from MMC card. But then MMC is > just one out of many storage devices, and with the same right we would > h ave to move the SCSI or DoC or S-ATA initialization up,

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-22 Thread Hu Mingkai-B21284
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, September 23, 2009 2:58 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421; Gala Kumar-B11780 > Subject: Re: [U-Boot] [PATCH v1 1/3] Make mmc init come >

Re: [U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-22 Thread Wolfgang Denk
Dear Mingkai Hu, In message <1252640445-7890-2-git-send-email-mingkai...@freescale.com> you wrote: > If the environment variables are saved on the MMC/SD card, > env_relocat can't relocate env from MMC/SD card without mmc init. > > Signed-off-by: Mingkai Hu I'm biased. I understand that you do

[U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate

2009-09-10 Thread Mingkai Hu
If the environment variables are saved on the MMC/SD card, env_relocat can't relocate env from MMC/SD card without mmc init. Signed-off-by: Mingkai Hu --- lib_ppc/board.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index e