[U-Boot] [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT

Tom Rini trini at konsulko.com
Mon Oct 17 13:53:09 CEST 2016


On Mon, Oct 17, 2016 at 09:12:30AM +0000, Z.Q. Hou wrote:
> Hi Prabhakar,
> 
> Thanks for your comments!
> 
> > -----Original Message-----
> > From: Prabhakar Kushwaha
> > Sent: 2016年10月17日 11:40
> > To: Z.Q. Hou <zhiqiang.hou at nxp.com>; u-boot at lists.denx.de;
> > albert.u.boot at aribaud.net; york sun <york.sun at nxp.com>;
> > sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de;
> > yamada.masahiro at socionext.com; Ruchika Gupta <ruchika.gupta at nxp.com>;
> > eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; sr at denx.de;
> > van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca;
> > trini at konsulko.com; Mingkai Hu <mingkai.hu at nxp.com>
> > Cc: Z.Q. Hou <zhiqiang.hou at nxp.com>
> > Subject: RE: [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT
> > 
> > 
> > > -----Original Message-----
> > > From: Zhiqiang Hou [mailto:Zhiqiang.Hou at nxp.com]
> > > Sent: Wednesday, October 12, 2016 2:56 PM
> > > To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun
> > > <york.sun at nxp.com>; sjg at chromium.org; bmeng.cn at gmail.com;
> > hs at denx.de;
> > > yamada.masahiro at socionext.com; Ruchika Gupta
> > <ruchika.gupta at nxp.com>;
> > > eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha
> > > <prabhakar.kushwaha at nxp.com>; sr at denx.de; van.freenix at gmail.com;
> > > fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com;
> > > Mingkai Hu <mingkai.hu at nxp.com>
> > > Cc: Z.Q. Hou <zhiqiang.hou at nxp.com>
> > > Subject: [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT
> > >
> > > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > >
> > > Enable the config NOR_BOOT obviously for NOR boot defconfigs of
> > > ls1043a and ls1046a.
> > >
> > 
> > Earlier, no CONFIG for NOR boot was required.
> > Why new variable CONFIG_NOR_BOOT is even required?
> 
> Now that the Boot Media configs has been introduced, it's reasonable to uniform all boot methods under this framework.
> And therefore the other config entry is able to be configured according to different Boot Media.

But we also don't want to make this needlessly complicated.  The general
intention here is that we have some boot methods that are incompatible
with others.  For example, if a board lacks NOR and we try and run a
binary that expects NOR, we panic today.  So for beaglebone (where there
is a NOR cape that you can boot from) we need a special build that does
know about NOR.

At some level, once we have enough things in DM some of this special
casing can go away I hope.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161017/6dcab136/attachment.sig>


More information about the U-Boot mailing list