Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-20 Thread Przemyslaw Marczak
Hi, On 02/19/2015 05:45 PM, Tom Rini wrote: On Thu, Feb 19, 2015 at 03:36:57PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 02/19/2015 03:03 PM, Tom Rini wrote: On Wed, Feb 18, 2015 at 11:50:41AM +0100, Przemyslaw Marczak wrote: Hello Simon, On 02/18/2015 06:02 AM, Simon Glass wrote: Hi

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-19 Thread Tom Rini
On Tue, Feb 17, 2015 at 10:02:03PM -0700, Simon Glass wrote: Hi Przemyslaw, On 17 February 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Before this commit, the mmc devices were always registered in the same order. So dwmmc channel 0 was registered as mmc 0, channel 1

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-19 Thread Tom Rini
On Wed, Feb 18, 2015 at 11:50:41AM +0100, Przemyslaw Marczak wrote: Hello Simon, On 02/18/2015 06:02 AM, Simon Glass wrote: Hi Przemyslaw, On 17 February 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Before this commit, the mmc devices were always registered in the

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-19 Thread Przemyslaw Marczak
Hello Tom, On 02/19/2015 03:03 PM, Tom Rini wrote: On Wed, Feb 18, 2015 at 11:50:41AM +0100, Przemyslaw Marczak wrote: Hello Simon, On 02/18/2015 06:02 AM, Simon Glass wrote: Hi Przemyslaw, On 17 February 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Before this commit,

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-19 Thread Tom Rini
On Thu, Feb 19, 2015 at 03:36:57PM +0100, Przemyslaw Marczak wrote: Hello Tom, On 02/19/2015 03:03 PM, Tom Rini wrote: On Wed, Feb 18, 2015 at 11:50:41AM +0100, Przemyslaw Marczak wrote: Hello Simon, On 02/18/2015 06:02 AM, Simon Glass wrote: Hi Przemyslaw, On 17 February 2015 at

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-18 Thread Przemyslaw Marczak
Hello Simon, On 02/18/2015 06:02 AM, Simon Glass wrote: Hi Przemyslaw, On 17 February 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Before this commit, the mmc devices were always registered in the same order. So dwmmc channel 0 was registered as mmc 0, channel 1 as mmc 1,

Re: [U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-17 Thread Simon Glass
Hi Przemyslaw, On 17 February 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Before this commit, the mmc devices were always registered in the same order. So dwmmc channel 0 was registered as mmc 0, channel 1 as mmc 1, etc. In case of possibility to boot from more then one

[U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-17 Thread Przemyslaw Marczak
Before this commit, the mmc devices were always registered in the same order. So dwmmc channel 0 was registered as mmc 0, channel 1 as mmc 1, etc. In case of possibility to boot from more then one device, the CONFIG_SYS_MMC_ENV_DEV should always point to right mmc device. This can be achieved by