[U-Boot] [PATCH] Honor /memory/reg node in DTB files
Hollis Blanchard
hollis_blanchard at mentor.com
Tue Dec 7 19:40:40 CET 2010
On 12/06/2010 10:52 PM, Wolfgang Denk wrote:
> If you define that the device tree is the "master" for information
> about the memory layout (and potentially other hardware specifics),
> then you should be consequent and pass make U-Boot process this
> information. We've discussed before that there are a number of cases
> where it would be nice if U-Boot itself could be configured usign a
> device tree. This appears to be another one.
I *think* what you're suggesting is basically providing u-boot with a
single device tree, even when it will load multiple operating systems.
The tree would then look something like this:
/
cpus
...
memory
reg = <0 20000000>
soc
...
partitions
partition at 0
memory
reg = <0 10000000>
partition at 1
memory
reg = <10000000 10000000>
U-boot would then be responsible for constructing multiple device trees
(one for each partition) itself, based on the additional information
found in the "partitions" node.
Is that correct?
Hollis Blanchard
Mentor Graphics, Embedded Systems Division
More information about the U-Boot
mailing list