kconfig: move CONFIG_OF_* to Kconfig
A message that is not in the archive (sent off-list or not yet received): 30670792.47881410234247727.JavaMail.weblogic@epv6ml04
PATCH 9/10 kconfig: move CONFIG_OF_* to Kconfig
Hi,
Quoted 66 lines · Akshay Saraswat
Hi Masahiro,
Quoted 64 lines
Hi Samsung developers,
Simon Glass,2014-09-09 1:10 GMT+09:00 Masahiro YAMADA :
Quoted 45 lines
Hi Stephen,
2014-09-09 0:58 GMT+09:00 Stephen Warren :
Quoted 31 lines · Masahiro YAMADA
Quoted 30 lines
Hi Stephen,
2014-09-09 0:04 GMT+09:00 Stephen Warren :
Quoted 3 lines
I don't believe this is the correct approach;
CONFIG_OF_CONTROLisn't a user-configurable option, and hence shouldn't show up in*_defconfig. "selectOF_CONTROL" in aKconfigfile probably makes sense though.I think it depends on the board (SoC).
In my understanding, Zynq boards should work with/without Device Tree control.
(Moreover, Zynq boards work with/without SPL)At least as for Zynq,
CONFIG_OF_CONTROL( andCONFIG_SPLtoo) is a user-configurable option.(Michal, please correct me if I am wrong.)
I am not familiar with Tegra SoCs, but
do Tegra boards always Device Tree? ( and only work with SPL ?)If so,
Quoted 9 lines
Quoted 5 lines
config TEGRA
select SPL
selectOF_CONTROLlooks better?
That looks correct for Tegra.
Quoted 9 lines
OK. I will send v2.
CONFIG_OF_CONTROLin tegra defconfigs will go away.(BTW, I forgot to mention a famous board; beaglebone black.
am335_boneblack_defconfigdisablesCONFIG_OF_CONTROL, whereasam335_boneblack_vboot_defconfigenables it. )Before posting v2 of this series,
please let me ask the same question on Exynos and Sandbox
Quoted 8 lines
Quoted 3 lines
Do Exynos boards always need Device Tree to run U-Boot? (that is,
CONFIG_OF_CONTROLmust be "select"ed.)Yes, all Exynos5 boards need Device Tree to run U-Boot.
In case of Snow and Pit, we use U-Boot's DTB to extract corresponding Kernel DTB. Also, we do check (#ifdef)CONFIG_OF_CONTROLto enable some features and IPs. I am not sure about Exynos4 but I can seeCONFIG_OF_LIBFDTin their config files.
I knew Exynos4/5 are supported the Device-tree,
but older Samsung SoCs isn't supported it.
Best Regards,
Jaehoon Chung
Quoted 18 lines
Quoted 7 lines
or
Do they work with/without Device Tree?
(that is, users can enable/disable via "make menuconfig" or friends.)Quoted 7 lines
What about Sandbox?
Best Regards
Masahiro YamadaRegards,
Akshay Saraswat