* Flash map information in device tree.
@ 2006-05-04 23:34 David Woodhouse
2006-05-05 0:01 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2006-05-04 23:34 UTC (permalink / raw)
To: linuxppc-dev
I'd like to get rid of some of the 'map' drivers in drivers/mtd/maps/
and replace them with simple platform devices. On PPC, I'd like to do
that with nodes in the device tree, with appropriate properties:
- physical address
- size
- bankwidth
- chip probe type (CFI/JEDEC/RAM/ROM/etc)
- partitioning information
Can we define a format for this so it can be included in the device
trees which we're presumably going to be generating for the embedded
boards which are supported by the arch/powerpc kernel?
If we can get either an updated u-boot or a boot wrapper which work on
the Wind River SBC8265 or SBC8560 boards, I might even be able to test
it myself.
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flash map information in device tree.
2006-05-04 23:34 Flash map information in device tree David Woodhouse
@ 2006-05-05 0:01 ` Josh Boyer
2006-05-05 0:33 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2006-05-05 0:01 UTC (permalink / raw)
To: David Woodhouse; +Cc: linuxppc-dev
On Fri, 2006-05-05 at 00:34 +0100, David Woodhouse wrote:
> I'd like to get rid of some of the 'map' drivers in drivers/mtd/maps/
> and replace them with simple platform devices. On PPC, I'd like to do
> that with nodes in the device tree, with appropriate properties:
> - physical address
> - size
> - bankwidth
> - chip probe type (CFI/JEDEC/RAM/ROM/etc)
Hm. How do you deal with NAND, which really isn't any of the above and
can really depend on things like controllers, etc.
Or was this only for NOR for the time being?
> - partitioning information
>
> Can we define a format for this so it can be included in the device
> trees which we're presumably going to be generating for the embedded
> boards which are supported by the arch/powerpc kernel?
Platform drivers in general would be a good starting point I think.
Then you can transition those to using the generated flat device tree,
right?
>
> If we can get either an updated u-boot or a boot wrapper which work on
> the Wind River SBC8265 or SBC8560 boards, I might even be able to test
> it myself.
Or if anyone is ambitions and wants to get things working on a bamboo
board... :)
josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flash map information in device tree.
2006-05-05 0:01 ` Josh Boyer
@ 2006-05-05 0:33 ` David Woodhouse
0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2006-05-05 0:33 UTC (permalink / raw)
To: Josh Boyer; +Cc: linuxppc-dev
On Thu, 2006-05-04 at 19:01 -0500, Josh Boyer wrote:
> On Fri, 2006-05-05 at 00:34 +0100, David Woodhouse wrote:
> > I'd like to get rid of some of the 'map' drivers in drivers/mtd/maps/
> > and replace them with simple platform devices. On PPC, I'd like to do
> > that with nodes in the device tree, with appropriate properties:
> > - physical address
> > - size
> > - bankwidth
> > - chip probe type (CFI/JEDEC/RAM/ROM/etc)
>
> Hm. How do you deal with NAND, which really isn't any of the above and
> can really depend on things like controllers, etc.
>
> Or was this only for NOR for the time being?
Only NOR. NAND requires a little more than just "where is it?".
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-05 0:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 23:34 Flash map information in device tree David Woodhouse
2006-05-05 0:01 ` Josh Boyer
2006-05-05 0:33 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).