[U-Boot] [RFC] Multiple device trees in one u-boot image

9 Dec
2017
9 Dec
'17
6:51 p.m.
Hello Simon,
I have had a look why the Wandboard cannot be switched to using the driver.
We have one SPL and one u-boot.img for different boards. In function board_init() in the board file board/wandboard/wandboard.c the actual board is determined.
If we enable CONFIG_OF_CONTROL we can specify only one device tree in CONFIG_DEFAULT_DEVICE_TREE.
What is the idea for one image handling multiple devices having different device trees?
Could we specify a list of multiple device trees and use board_init() or board_init_spl() to select the relevant tree?
Probably in SPL we would need only a reduced tree applicable to all Wandboards.
Best regards
Heinrich
2713
Age (days ago)
2713
Last active (days ago)
0 comments
1 participants
participants (1)
-
Heinrich Schuchardt