Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Simon Horman
On Wed, Mar 16, 2011 at 02:26:05PM +0900, Magnus Damm wrote: > On Wed, Mar 16, 2011 at 2:16 PM, Simon Horman wrote: > > On Wed, Mar 16, 2011 at 11:20:46AM +0900, Magnus Damm wrote: > >> On Wed, Mar 16, 2011 at 10:14 AM, Simon Horman wrote: > >> > How do you envisage that the hardware block would

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Magnus Damm
On Wed, Mar 16, 2011 at 2:16 PM, Simon Horman wrote: > On Wed, Mar 16, 2011 at 11:20:46AM +0900, Magnus Damm wrote: >> On Wed, Mar 16, 2011 at 10:14 AM, Simon Horman wrote: >> > How do you envisage that the hardware block would be selected? >> > At compile time through Kconfig? If so the current

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Simon Horman
On Wed, Mar 16, 2011 at 11:20:46AM +0900, Magnus Damm wrote: > On Wed, Mar 16, 2011 at 10:14 AM, Simon Horman wrote: > > On Wed, Mar 16, 2011 at 09:37:50AM +0900, Magnus Damm wrote: [snip] > >> Not sure if it makes sense at this point, but perhaps it's a good idea > >> to move the mmc_loader() f

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Magnus Damm
On Wed, Mar 16, 2011 at 10:14 AM, Simon Horman wrote: > On Wed, Mar 16, 2011 at 09:37:50AM +0900, Magnus Damm wrote: >> On Wed, Mar 16, 2011 at 7:27 AM, Simon Horman wrote: >> > This allows a ROM-able zImage to be written to eSD and for SuperH Mobile >> > ARM to boot directly from the SDHI hardwa

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Simon Horman
Hi Magnus, On Wed, Mar 16, 2011 at 09:37:50AM +0900, Magnus Damm wrote: > Hi Simon, > > Thanks for your work on this! [ snip ] > > On Wed, Mar 16, 2011 at 7:27 AM, Simon Horman wrote: > > This allows a ROM-able zImage to be written to eSD and for SuperH Mobile > > ARM to boot directly from th

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Magnus Damm
Hi Simon, Thanks for your work on this! On Wed, Mar 16, 2011 at 7:27 AM, Simon Horman wrote: > This allows a ROM-able zImage to be written to eSD and for SuperH Mobile > ARM to boot directly from the SDHI hardware block. > > This is achieved by the MaskROM loading the first portion of the image

Re: [PATCH 4/4 v4] mmc, ARM: Add zboot from eSD support for SuperH Mobile ARM

2011-03-15 Thread Simon Horman
This allows a ROM-able zImage to be written to eSD and for SuperH Mobile ARM to boot directly from the SDHI hardware block. This is achieved by the MaskROM loading the first portion of the image into MERAM and then jumping to it. This portion contains loader code which copies the entire image to