Re: OF compatible MTD platform RAM driver ?
From: Segher Boessenkool <hidden>
Date: 2008-03-31 01:24:29
From: Segher Boessenkool <hidden>
Date: 2008-03-31 01:24:29
[Removed linux-mtd from cc:]
quoted
quoted
[*] It seems to me the longtrail workaround code in prom_init.c is incorrect though: it will match any node with name "memory" that doesn't have a device_type?It only matches on children of the root node,Oh okay, I misread that then.
...No, I did not. prom_next_node() does a depth-first tree traversal.
quoted
Actually we could probably remove the longtrail stuff now; I think mine has stopped working, and I only know of 2 others in existence. :)I'll prepare a patch.
...Actually, that's a lot of code to rip out, and I can't test this at all, so I'll have to pass on this. Segher