All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC] Multiple device trees in one u-boot image
@ 2017-12-09 17:51 Heinrich Schuchardt
  0 siblings, 0 replies; only message in thread
From: Heinrich Schuchardt @ 2017-12-09 17:51 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-09 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 17:51 [U-Boot] [RFC] Multiple device trees in one u-boot image Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.