Re: [U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-17 Thread Wolfgang Denk
Dear Aneesh V, In message <4dd21961.7070...@ti.com> you wrote: > > >> SPL has access to .data right from the beginning. Besides this is too > >> early. global data is not initialized yet. > > > > Please keep in mind that this is a special situation then. The code > > will not work as intended for

Re: [U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-16 Thread Aneesh V
Hi Wolfgang, On Monday 16 May 2011 09:07 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4dd1189d.4050...@ti.com> you wrote: >> Save this information in SPL so that we can use the same media and mode to bootload u-boot. Signed-off-by: Aneesh V >>> ... + /* Store

Re: [U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-16 Thread Wolfgang Denk
Dear Aneesh V, In message <4dd1189d.4050...@ti.com> you wrote: > > >> Save this information in SPL so that we can use the same media > >> and mode to bootload u-boot. > >> > >> Signed-off-by: Aneesh V > > ... > >> + /* Store the boot device in omap4_boot_device */ > >> + ldr r2, [r0, #BOOT_

Re: [U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-16 Thread Aneesh V
Hi Wolfgang, On Monday 16 May 2011 12:44 AM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<1305472900-4004-5-git-send-email-ane...@ti.com> you wrote: >> Save boot device information passed by OMAP4 rom code >> >> ROM code in OMAP4 passes information such as the media from >> which it picke

Re: [U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-15 Thread Wolfgang Denk
Dear Aneesh V, In message <1305472900-4004-5-git-send-email-ane...@ti.com> you wrote: > Save boot device information passed by OMAP4 rom code > > ROM code in OMAP4 passes information such as the media from > which it picked up the first boot image(SPL in our case), > the mode(raw mode/FAT mode) e

[U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

2011-05-15 Thread Aneesh V
Save boot device information passed by OMAP4 rom code ROM code in OMAP4 passes information such as the media from which it picked up the first boot image(SPL in our case), the mode(raw mode/FAT mode) etc. Save this information in SPL so that we can use the same media and mode to bootload u-boot.