
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@nxp.com; u-boot@lists.denx.de; albert.u.boot@aribaud.net; york sun york.sun@nxp.com; sjg@chromium.org; bmeng.cn@gmail.com; hs@denx.de; yamada.masahiro@socionext.com; Ruchika Gupta ruchika.gupta@nxp.com; eddy.petrisor@gmail.com; s.temerkhanov@gmail.com; sr@denx.de; van.freenix@gmail.com; fgretief@spaceteq.co.za; rpjday@crashcourse.ca; trini@konsulko.com; Mingkai Hu mingkai.hu@nxp.com Cc: Z.Q. Hou zhiqiang.hou@nxp.com Subject: RE: [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT
-----Original Message----- From: Zhiqiang Hou [mailto:Zhiqiang.Hou@nxp.com] Sent: Wednesday, October 12, 2016 2:56 PM To: u-boot@lists.denx.de; albert.u.boot@aribaud.net; york sun york.sun@nxp.com; sjg@chromium.org; bmeng.cn@gmail.com;
hs@denx.de;
yamada.masahiro@socionext.com; Ruchika Gupta
eddy.petrisor@gmail.com; s.temerkhanov@gmail.com; Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; sr@denx.de; van.freenix@gmail.com; fgretief@spaceteq.co.za; rpjday@crashcourse.ca; trini@konsulko.com; Mingkai Hu mingkai.hu@nxp.com Cc: Z.Q. Hou zhiqiang.hou@nxp.com Subject: [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT
From: Hou Zhiqiang Zhiqiang.Hou@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.