Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/11/2012 05:08 AM, Sughosh Ganu wrote: > On Wed Jul 11, 2012 at 04:43:19AM -0700, Tom Rini wrote: >> On 07/11/2012 04:05 AM, Sughosh Ganu wrote: > > > I'm fine saying that we should wrap the call around an #if, but I would expect it t

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Sughosh Ganu
On Wed Jul 11, 2012 at 04:43:19AM -0700, Tom Rini wrote: > On 07/11/2012 04:05 AM, Sughosh Ganu wrote: > >> I'm fine saying that we should wrap the call around an #if, but I > >> would expect it to be set in the common case and only not set in > >> custom production boards. > > > > Correct, so

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Tom Rini
On 07/11/2012 04:05 AM, Sughosh Ganu wrote: > On Wed Jul 11, 2012 at 03:46:46AM -0700, Tom Rini wrote: >> On 07/11/2012 03:40 AM, Sughosh Ganu wrote: >>> On Wed Jul 11, 2012 at 01:19:40AM -0700, Tom Rini wrote: On 07/10/2012 11:38 PM, Sughosh Ganu wrote: > On Tue Jul 10, 2012 at 11:20:53PM

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Sughosh Ganu
On Wed Jul 11, 2012 at 03:46:46AM -0700, Tom Rini wrote: > On 07/11/2012 03:40 AM, Sughosh Ganu wrote: > > On Wed Jul 11, 2012 at 01:19:40AM -0700, Tom Rini wrote: > >> On 07/10/2012 11:38 PM, Sughosh Ganu wrote: > >>> On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: > On We

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Tom Rini
On 07/11/2012 03:40 AM, Sughosh Ganu wrote: > On Wed Jul 11, 2012 at 01:19:40AM -0700, Tom Rini wrote: >> On 07/10/2012 11:38 PM, Sughosh Ganu wrote: >>> On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: On Wed, 11 Jul 2012 00:09:06 +0530 Sughosh Ganu wrote: >> diff

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Sughosh Ganu
On Wed Jul 11, 2012 at 01:19:40AM -0700, Tom Rini wrote: > On 07/10/2012 11:38 PM, Sughosh Ganu wrote: > > On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: > >> On Wed, 11 Jul 2012 00:09:06 +0530 > >> Sughosh Ganu wrote: > diff --git a/arch/arm/cpu/arm926ejs/davinci/spl.c >

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-11 Thread Tom Rini
On 07/10/2012 11:38 PM, Sughosh Ganu wrote: > On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: >> On Wed, 11 Jul 2012 00:09:06 +0530 >> Sughosh Ganu wrote: diff --git a/arch/arm/cpu/arm926ejs/davinci/spl.c b/arch/arm/cpu/arm926ejs/davinci/spl.c index 74632e5..50b4bbc 1

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Sughosh Ganu
On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: > On Wed, 11 Jul 2012 00:09:06 +0530 > Sughosh Ganu wrote: > > > diff --git a/arch/arm/cpu/arm926ejs/davinci/spl.c > > > b/arch/arm/cpu/arm926ejs/davinci/spl.c index 74632e5..50b4bbc 100644 > > > --- a/arch/arm/cpu/arm926ejs/davin

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Mikhail Kshevetskiy
On Wed, 11 Jul 2012 00:09:06 +0530 Sughosh Ganu wrote: > hi Mikhail, > On Mon Jul 09, 2012 at 10:53:39PM +0400, Mikhail Kshevetskiy wrote: > > This patch allow us to have a universal spl that detects a boot > > device and select a corresponding boot algorithm for main u-boot part > > (SOC_DA8XX o

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Sughosh Ganu
hi Mikhail, On Mon Jul 09, 2012 at 10:53:39PM +0400, Mikhail Kshevetskiy wrote: > This patch allow us to have a universal spl that detects a boot > device and select a corresponding boot algorithm for main u-boot part > (SOC_DA8XX only) I have not tested this patch, will do so sometime this week.

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
On Mon, 9 Jul 2012 13:08:07 -0700 Tom Rini wrote: > On 07/09/2012 12:57 PM, Mikhail Kshevetskiy wrote: > > On Mon, 9 Jul 2012 12:41:06 -0700 > > Tom Rini wrote: > > > >> On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > >>> This patch allow us to have a universal spl that detects a boot > >>

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
On Mon, 9 Jul 2012 12:41:06 -0700 Tom Rini wrote: > On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > > This patch allow us to have a universal spl that detects a boot > > device and select a corresponding boot algorithm for main u-boot part > > (SOC_DA8XX only) > > > > This patch create copy

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
On 07/09/2012 12:57 PM, Mikhail Kshevetskiy wrote: > On Mon, 9 Jul 2012 12:41:06 -0700 > Tom Rini wrote: > >> On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: >>> This patch allow us to have a universal spl that detects a boot >>> device and select a corresponding boot algorithm for main u-boot

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: > This patch allow us to have a universal spl that detects a boot > device and select a corresponding boot algorithm for main u-boot part > (SOC_DA8XX only) > > This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and > drivers/mtd/spi/

[U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and drivers/mtd/spi/spi_spl_load.c for the following reasons: * avoid jump to main