Cleanups for physmap_of.c (v2)
Segher Boessenkool
segher at kernel.crashing.org
Fri Sep 21 03:11:59 EST 2007
> - (the big one) Despite the name, this driver really has
> nothing to do with drivers/mtd/physmap.c. The fact that the flash
> chips must be physically direct mapped is a constrant, but doesn't
> really say anything about the actual purpose of this driver, which is
> to instantiate MTD devices based on information from the device tree.
> Therefore the physmap name is replaced everywhere within the file with
> "of_flash".
Do you think this code will handle NAND flash later, too? If not,
maybe "of_norflash" is better?
Segher
More information about the Linuxppc-dev
mailing list