From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 20 May 2016 10:12:07 -0600 Subject: [U-Boot] why so little use of ft_system_setup()? In-Reply-To: References: Message-ID: <573F3757.9080807@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.