On Sat, May 09, 2015 at 12:15:37AM +0200, Marek Vasut wrote:
> On Friday, May 08, 2015 at 11:51:36 PM, Tim Harvey wrote:
> > Allocating space for temporary env on the stack makes env_relocate_spec()
> > unsuitable for SPL environments which have very little stack.
> 
> Well yeah, but what if you don't have malloc area ? I'd expect that
> the be the case in SPL quite often.

OK, hold up.  We went through this a while back which is why things are
how they are today.  First, we have things setup today such that you can
throw stack (at the point we do env in SPL) into DDR.  This means we can
keep doing things the way they are.  You can take a look at
include/configs/am335x_evm.h and where CONFIG_EMMC_BOOT is set, that's
how we do what it looks like you're trying to do on imx6 but on TI
am335x.

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to