On 09/16/2011 02:31 PM, Wolfgang Denk wrote: > Dear Joel A Fernandes, > > In > message<CAD=gypaauvqo3s_8foufdlnayuys5cfs-fkl5guv3onng_z...@mail.gmail.com> > you wrote: >> >> Just one question about one of your patches I happen to notice [1], >> why is there a SPL build for each different boot mode such as for >> NAND, MMC etc?. Wouldn't it be nicer to have a single SPL loader that >> tried different boot modes one after the other, something like what >> x-load already does? Are there are any challenges with this approach? > > Yes, this would be nice. Question: how do we make this fit in - say - > the 2 KiB code size that some processors load? Including all the > drivers for NAND, MMC etc.? > > Best regards, > > Wolfgang Denk >
That's the reason for the librarys in SPL. One can build a SPL that is able to boot from more than one source (although it might not work yet - the tools are there). If size matters: Just include the one needed Regards Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot