
On 05/19/2016 12:19 PM, Robert P. J. Day wrote:
still crawling through the code related to FDTs, and while i see a pile of boards that define CONFIG_OF_SYSTEM_SETUP, i see very few that define the corresponding(?) ft_system_setup() routine.
$ grep -r CONFIG_OF_SYSTEM_SETUP *
configs/apalis_t30_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/paz00_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/plutux_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/venice2_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/p2571_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/beaver_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/ventana_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/p2371-0000_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/tec-ng_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/seaboard_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/dalmore_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/harmony_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/cardhu_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/p2371-2180_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/trimslice_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/colibri_t30_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/colibri_t20_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/whistler_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/tec_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/jetson-tk1_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/e2220-1170_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/medcom-wide_defconfig:CONFIG_OF_SYSTEM_SETUP=y configs/nyan-big_defconfig:CONFIG_OF_SYSTEM_SETUP=y
All of those are Tegra boards.
and yet ...
$ grep -rw ft_system_setup * arch/arm/mach-tegra/board2.c:int ft_system_setup(void *blob, bd_t *bd)
... which link in that file.