On Mon, Apr 07, 2014 at 07:41:39PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20140407171943.GG23803@bill-the-cat> you wrote: > > > > > What exactly do you mean by "non-SPL XIP booting"? Is this not the > > > standard boot mode which has actually been the first (and only one) > > > that U-Boot has ever been designed for, like booting from a ROM (like > > > parallel NOR flash)? Because the we do exactly that: we execute the > > > code as is from the boot device... > > > > Exactly. But most modern platforms are not XIP booting by default, if > > ever. When it is, it's a special case and needs the code we usually > > only call in SPL (say memory controller init) linked in. Today this is > > done with say: > > #if defined(CONFIG_SPL_BUILD) || defined(CONFIG_NOR_BOOT) > > ... > > #endif > > on am335x. Looking at am43xx we have both traditional NOR and QSPI NOR > > as boot options, along with SD/NAND/various-peripheral-boots. > > OK. So if this basically the same what we do when booting XIP from > parallel NOR, then maybe we should rename CONFIG_NOR_BOOT into a more > generic name, like CONFIG_XIP_BOOT ?
Nope, not everything for NOR is required for QSPI nor correct, so we'll still need NOR/QSPI boot options (CONFIG_ENV_IS_IN.. then size/location). -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot