[U-Boot] [RFC] arm926ejs: fix jump to RAM nand_boot

Sughosh Ganu
2010-11-02T09:56:45Z

hi Albert,

On Tue Nov 02, 2010 at 10:47:49AM +0100, Albert ARIBAUD wrote:

> Now a solution would be that the actual u-boot size be flashed along
> with it, for instance as a literal defined as '.word _end - _start'
> right after the vectors. The SPL could load a first NAND block, read the
> literal, round it to a multiple of NAND blocks by default, and then read
> this quantity.
>
> That would remove the dependency at the cost of extra code in the SPL,
> though, and not all boards might be able to afford it.

Another issue is that the nand_spl might be compiled and flashed
to the NAND as a separate entity, using a separate flashing
mechanism. If we use the dynamic calculation of the u-boot size,
this would necessitate building and flashing the nand_spl each time
along with u-boot.

-sughosh