[PATCH 6/6] mtd: spi-nand: Support common SPI NAND devices
Ezequiel Garcia
ezequiel.garcia at imgtec.com
Mon Dec 15 11:36:20 PST 2014
On 12/12/2014 10:27 PM, Daniel Ehrenberg wrote:
> On Tue, Dec 2, 2014 at 4:58 AM, Ezequiel Garcia
> <ezequiel.garcia at imgtec.com> wrote:
[..]
>> +
>> +enum spi_nand_device_variant {
>> + SPI_NAND_GENERIC,
>> + SPI_NAND_MT29F,
>> + SPI_NAND_GD5F,
>> +};
>
> What is the purpose of including SPI_NAND_GENERIC? It looks like it
> doesn't work anyway.
>
For the time being, I'm not sure we will require a device-specific compatible
string, or rather, auto-detect the device using the device ID.
So, this patch leaves the door opened for both options.
I've been talking to Brian on IRC, and auto-detecting the device seems like
the way to go. However, I wanted to have some feedback on the general approach
having the community approval, before moving forward in any direction.
Thanks for the feedback,
--
Ezequiel
More information about the linux-mtd
mailing list