Thread (5 messages) flat view 5 messages, 4 authors, 2007-09-17

Re: [patch 3/4] 4xx: Convert Walnut flash mappings to new binding

From: David Gibson <hidden>
Date: 2007-09-17 02:46:07

On Sat, Sep 15, 2007 at 09:20:10PM +0200, Segher Boessenkool wrote:
quoted
quoted
Maybe we can have  U-Boot  add  the  partition  information  if  it's
missing in the device tree, and extend the mtdparts command in U-Boot
to add / adjust settings so they match what is defined in U-Boot.
That would be great for newer U-Boots.  For existing older ones, it
doesn't really solve the problem.  But then again, there's no way to
possibly define all the partitioning schemes people may have adopted to
their needs on their boards.  And I believe that is why David has
RedBoot and command line partitioning override what is in the DTS 
today.
Yeah, partitioning information really doesn't belong in the device
tree -- with the possible exception of the partitions that the
firmware (uboot in this case) needs to know about anyway.
Indeed - but we had just the same problem, only worse, with the old
approach of hardcoded, configured-in flash maps.
You *can* put all partitioning info in the device tree, but that
doesn't mean you *should* :-)
-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help