Skip to contentSkip to conversation

difference between ft_board_setup() and ft_system_setup()

U-Boot Hannes Schmelzer 1 participant 2 messages Mar 17, 2016 – Mar 22, 2016

lore
Share & tools
lore
#0 lore raw

hi,

i've seen today that there is some kconfig option to switch on CONFIG_OF_SYSTEM_SETUP,
which turns on calling some ft_system_setup() function before booting the OS.

In the days before this my meaning was to implement all things which i have to modify dynamically within ft_board_setup().

What is the purpose of ft_system_setup, which thing should be implemented here and which things should stay in ft_board_setup?

many thanks and best regards,
Hannes

#1 lore raw

ping ...

-------- Forwarded Message --------
Subject: difference between ft_board_setup() and ft_system_setup()
Date: Thu, 17 Mar 2016 09:36:32 +0100
From: Hannes Schmelzer <[email protected]>
To: u-boot at lists.denx.de <[email protected]>

hi,

i've seen today that there is some kconfig option to switch on CONFIG_OF_SYSTEM_SETUP,
which turns on calling some ft_system_setup() function before booting the OS.

In the days before this my meaning was to implement all things which i have to modify dynamically within ft_board_setup().

What is the purpose of ft_system_setup, which thing should be implemented here and which things should stay in ft_board_setup?

many thanks and best regards,
Hannes